From fd6b89d26f9bfb821fbc5b7665b360b3f0b5ef02 Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Mon, 11 Nov 2019 12:57:28 +0100 Subject: [PATCH] CONTRIBUTING: Document RUSTUP_MAX_RETRIES Signed-off-by: Daniel Silverstone --- CONTRIBUTING.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 18a9cbe29f4..0758ff095aa 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -140,6 +140,13 @@ than 1, it is clamped to 1 at minimum. This is not meant for use by users, but can be suggested in diagnosing an issue should one arise with the backtrack limits. +### `RUSTUP_MAX_RETRIES` + +When downloading a file, rustup will retry the download a number of times. The +default is 3 times, but if this variable is set to a valid usize then it is the +max retry count. A value of `0` means no retries, thus the default of `3` will +mean a download is tried a total of four times before failing out. + ### `RUSTUP_BACKTRACE` By default while running tests, we unset some environment variables that will