diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2017-04-10T13·58+0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-10T13·58+0200 |
commit | 1fe1976e0d68b520f04f8ad4f619bb52c40cef78 (patch) | |
tree | 9f89533871976549cf2bf59e11890b3770d77fc6 | |
parent | 8945a0ea2cf58569c077aa45c6ac2c5fa8db1c2a (diff) | |
parent | e43e8be8e76b4457c1dfe7578870b2c995dc6a43 (diff) |
Merge pull request #1316 from copumpkin/nix-retries-default
Default to 5 download retries
-rw-r--r-- | src/libstore/download.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/download.hh b/src/libstore/download.hh index e2e16b361036..62f3860b9dae 100644 --- a/src/libstore/download.hh +++ b/src/libstore/download.hh @@ -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) { } |