ostree/pull: Add network-retries command line option

This exposes a way to specify from the command line the number
of times to retry each download after a network error. If a negative
value is given, then the default number of retries (5) is used. If 0
is given, then errors are returned without retrying.

closes #1659

Closes: #1669
Approved by: jlebon
This commit is contained in:
Robert Fairley authored and Atomic Bot committed 2018-07-05 17:59:09 +00:00
1 parent 4f096c8f11
commit 7baf167881
4 files changed
+50 -3

No files matched your search

+8
View File
@@ -129,6 +129,14 @@ Boston, MA 02111-1307, USA.
Traverse DEPTH parents (-1=infinite) (default: 0).
</para></listitem>
</varlistentry>
<varlistentry>
<term><option>--network-retries</option>=N</term>
<listitem><para>
Specifies how many times each download should be retried upon error (default: 5)
</para></listitem>
</varlistentry>
</variablelist>
</refsect1>