about summary refs log tree commit diff
path: root/src/libstore/download.hh
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2016-08-30T13·48+0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2016-08-30T13·48+0200
commit6631a6e1a15784214bae468a4fdd3168aeef4ab7 (patch)
tree04e0c098bf6ef748b4861e34ffaedde732acfa13 /src/libstore/download.hh
parent97b1af1cbe03a48793426bee883ad9c4c9fd7db8 (diff)
Increase the sleep time between download retries
Diffstat (limited to 'src/libstore/download.hh')
-rw-r--r--src/libstore/download.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstore/download.hh b/src/libstore/download.hh
index 08618ba1c95d..f22e688645b0 100644
--- a/src/libstore/download.hh
+++ b/src/libstore/download.hh
@@ -14,6 +14,7 @@ struct DownloadOptions
     enum { yes, no, automatic } showProgress = yes;
     bool head = false;
     size_t tries = 1;
+    unsigned int baseRetryTimeMs = 100;
 };
 
 struct DownloadResult