mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 16:26:18 +02:00
Default to 5 download retries
This should help certain downloaders that don't request anything special for the number of retries, like nix-channel.
This commit is contained in:
parent
53edb55588
commit
e43e8be8e7
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ struct DownloadRequest
|
|||
bool verifyTLS = true;
|
||||
enum { yes, no, automatic } showProgress = yes;
|
||||
bool head = false;
|
||||
size_t tries = 1;
|
||||
size_t tries = 5;
|
||||
unsigned int baseRetryTimeMs = 250;
|
||||
|
||||
DownloadRequest(const std::string & uri) : uri(uri) { }
|
||||
|
|
Loading…
Reference in a new issue