Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Retry http 429 responses #4897

Merged
merged 3 commits into from
Nov 10, 2022
Merged

Retry http 429 responses #4897

merged 3 commits into from
Nov 10, 2022

Conversation

zivkan
Copy link
Member

@zivkan zivkan commented Nov 4, 2022

Bug

Fixes: NuGet/Home#12214

Regression? No

Description

I looked though Wikipedia's list of HTTP status codes, and in addition to 429, it looks like 408 is theoretically worth trying as well. I've never seen a customer complain about it though, and I think that pushing a nupkg is the only scenario that might feasibly happen. 🤷

PR Checklist

@zivkan zivkan requested a review from a team as a code owner November 4, 2022 22:00
@zivkan zivkan mentioned this pull request Nov 4, 2022
2 tasks
nkolev92
nkolev92 previously approved these changes Nov 8, 2022
Copy link
Contributor

@jeffkl jeffkl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤞

@zivkan zivkan merged commit a8a8a34 into dev Nov 10, 2022
@zivkan zivkan deleted the dev-zivkan-retry-on-http-429 branch November 10, 2022 19:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

NuGet doesn't retry on HTTP 429 responses
4 participants