increase rustup fetch `default retries` and `default timeout`
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 7k
- Forks
- 1.1k
- Avg merge
- 22h 40m
- Merged PRs (30d)
- 46
Description
Problem you are trying to solve
Sometimes, got operation timed out: operation timed out.
Seems like static.rust-lang.org connection sometimes not very good.
related
Solution you'd like
There are 3 related isssues.
I think, make sense to increase rustup fetch default retries and default timeout.
And add env variable, to let user overwrite them.
https://rust-lang.github.io/rustup/environment-variables.html
Notes
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with rustup's fetch implementation and the three related issues to understand the current retry and timeout defaults. Read the environment-variables documentation page to see how user overrides are documented. Done means the defaults are increased, environment-variable overrides are supported, and the relevant behavior is covered by tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100