Wait for a few minutes and retry download #9882
Labels
A-networking
Area: networking issues, curl, etc.
C-feature-request
Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`
S-triage
Status: This issue is waiting on initial triage.
Describe the problem you are trying to solve
Sometimes our CI setup on Tokio fails to download a dependency five times in a row and the build fails. Re-running it a few minutes later seems to fix it.
Describe the solution you'd like
Add an option or similar that tells cargo to sleep for a few minutes and retry again later if the download fails after retrying five times.
Notes
Cargo will currently retry a few times, which was implemented as part of #1602.
The text was updated successfully, but these errors were encountered: