Skip to content

Commit

Permalink
Set wget retry options for fetching parameters
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
ageis committed Oct 11, 2016
1 parent 4210e20 commit f964718
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions zcutil/fetch-params.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f964718

Please sign in to comment.