File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
src/script/webgraph_ranking Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -66,14 +66,16 @@ function download_file() {
66
66
67
67
if $USING_CURL ; then
68
68
69
- curl --silent --remote-time -o " $FILE " --time-cond " $FILE " --continue-at - " $URL "
69
+ curl --silent --remote-time -o " $FILE " --time-cond " $FILE " --continue-at - \
70
+ --retry 1000 --retry-all-errors --retry-delay 1 " $URL "
70
71
71
72
elif $USING_WGET ; then
72
73
73
74
if [ " $( dirname " $FILE " ) " == " ." ]; then
74
- wget --continue --timestamping " $URL "
75
+ wget --continue --timestamping --tries=0 --retry-on-http-error=503 --waitretry=1 " $URL "
75
76
else
76
- wget --continue --timestamping --directory-prefix=" $( dirname " $FILE " ) " " $URL "
77
+ wget --continue --timestamping --directory-prefix=" $( dirname " $FILE " ) " \
78
+ --tries=0 --retry-on-http-error=503 --waitretry=1 " $URL "
77
79
fi
78
80
79
81
fi
You can’t perform that action at this time.
0 commit comments