Commit 90b6bcce authored by Leigh Stoller's avatar Leigh Stoller

Add retry options to fetch commands, lets see if that helps

elabinelab setup issues.
parent a33fa228
#!/usr/bin/perl -w
#
# Copyright (c) 2003-2018 University of Utah and the Flux Group.
# Copyright (c) 2003-2019 University of Utah and the Flux Group.
#
# {{{EMULAB-LICENSE
#
......@@ -789,7 +789,8 @@ sub FetchFile($$) {
PhaseWouldHave("fetch $URL");
return 1;
}
if (ExecQuiet("$FETCH -o $localname $URL")) {
if (ExecQuiet("$FETCH --retry --timeout=30 --retry-delay=15 ".
" -o $localname $URL")) {
return 0;
} else {
return 1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment