aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/download.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstore/download.hh')
-rw-r--r--src/libstore/download.hh3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libstore/download.hh b/src/libstore/download.hh
index e2e16b361..7d8982d64 100644
--- a/src/libstore/download.hh
+++ b/src/libstore/download.hh
@@ -13,9 +13,8 @@ struct DownloadRequest
std::string uri;
std::string expectedETag;
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) { }