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

Gracefully Handle 429 Responses #198

Open
danforbes opened this issue Jun 11, 2020 · 0 comments
Open

Gracefully Handle 429 Responses #198

danforbes opened this issue Jun 11, 2020 · 0 comments

Comments

@danforbes
Copy link

Is your feature request related to a problem? Please describe.
When I use blc as part of an automated build, the build fails because blc does not gracefully handle (retry) requests that result in 429 responses.

Describe the solution you'd like
When blc encounters a 429 response, it should use exponential backoff to retry the 429-generating request some pre-defined (finite) number of times. This solution should probably be intelligent enough to group together requests to the same domain.

Describe alternatives you've considered
Consider all 429 responses as successful; immediately retry all 429 responses...

Additional context
substrate-developer-hub/substrate-developer-hub.github.io#561

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant