Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nix
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 8945a0ea2cf5
Choose a base ref
...
head repository: NixOS/nix
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 1fe1976e0d68
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Apr 10, 2017

  1. Default to 5 download retries

    This should help certain downloaders that don't request anything special
    for the number of retries, like nix-channel.
    copumpkin committed Apr 10, 2017

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    ondrejmirtes Ondřej Mirtes
    Copy the full SHA
    e43e8be View commit details
  2. Merge pull request #1316 from copumpkin/nix-retries-default

    Default to 5 download retries
    edolstra authored Apr 10, 2017

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    ondrejmirtes Ondřej Mirtes
    Copy the full SHA
    1fe1976 View commit details
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/libstore/download.hh
2 changes: 1 addition & 1 deletion src/libstore/download.hh
Original file line number Diff line number Diff line change
@@ -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) { }