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.
This commit is contained in:
parent
4210e20c9c
commit
f964718c83
|
@ -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…
Reference in New Issue