forked from lix-project/lix
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
|
@ -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