Browse Source

Set wget retry options for fetching parameters

This will retry upon refused connections and similar errors, wait 1 second
before the next retry, time out after 10 seconds if no data is received or
the connection times out, plus try an infinite number of times.
pull/4/head
Kevin Gallagher 8 years ago
parent
commit
f964718c83
  1. 1
      zcutil/fetch-params.sh

1
zcutil/fetch-params.sh

@ -22,6 +22,7 @@ function fetch_params {
--progress=dot:giga \
--output-document="$dlname" \
--continue \
--retry-connrefused --waitretry=1 --timeout=10 --tries 0 \
"$url"
shasum -a 256 --check <<EOF

Loading…
Cancel
Save