Merge pull request #1316 from copumpkin/nix-retries-default
Default to 5 download retries
This commit is contained in:
commit
1fe1976e0d
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ struct DownloadRequest
|
||||||
bool verifyTLS = true;
|
bool verifyTLS = true;
|
||||||
enum { yes, no, automatic } showProgress = yes;
|
enum { yes, no, automatic } showProgress = yes;
|
||||||
bool head = false;
|
bool head = false;
|
||||||
size_t tries = 1;
|
size_t tries = 5;
|
||||||
unsigned int baseRetryTimeMs = 250;
|
unsigned int baseRetryTimeMs = 250;
|
||||||
|
|
||||||
DownloadRequest(const std::string & uri) : uri(uri) { }
|
DownloadRequest(const std::string & uri) : uri(uri) { }
|
||||||
|
|
Loading…
Reference in a new issue