1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-06 21:41:48 +02:00

Increase the sleep time between download retries

This commit is contained in:
Eelco Dolstra 2016-08-30 15:48:24 +02:00
parent 97b1af1cbe
commit 6631a6e1a1
3 changed files with 4 additions and 2 deletions

View file

@ -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