about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2017-04-10T13·58+0200
committerGitHub <noreply@github.com>2017-04-10T13·58+0200
commit1fe1976e0d68b520f04f8ad4f619bb52c40cef78 (patch)
tree9f89533871976549cf2bf59e11890b3770d77fc6 /src
parent8945a0ea2cf58569c077aa45c6ac2c5fa8db1c2a (diff)
parente43e8be8e76b4457c1dfe7578870b2c995dc6a43 (diff)
Merge pull request #1316 from copumpkin/nix-retries-default
Default to 5 download retries
Diffstat (limited to 'src')
-rw-r--r--src/libstore/download.hh2
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) { }