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 requests when rate limited #168

Merged
merged 1 commit into from
Jun 19, 2022
Merged

Conversation

jianyuan
Copy link
Owner

@jianyuan jianyuan commented Jun 19, 2022

Use github.com/hashicorp/go-retryablehttp as the default HTTP client.

If the response from Sentry was a rate limit error, wait until the reset time.

@jianyuan jianyuan linked an issue Jun 19, 2022 that may be closed by this pull request
@jianyuan jianyuan mentioned this pull request Jun 19, 2022
@jianyuan jianyuan merged commit 6e367d7 into main Jun 19, 2022
@jianyuan jianyuan deleted the 148-sentry-request-limits branch June 19, 2022 03:59
@jianyuan jianyuan mentioned this pull request Jun 19, 2022
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.

Sentry Request Limits
1 participant