All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

Commit 90b6bcce authored by Leigh B Stoller's avatar Leigh B 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