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

Add special retry strategy for GetPolicy to avoid throttling #9

Merged
merged 1 commit into from
Nov 8, 2023

Conversation

eidelmanjonathan
Copy link
Contributor

Add special retry strategy for GetPolicy requests since these requests are likely to get throttled and should be given a longer backoff.

Issue #, if available: #8

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

.gitignore Outdated Show resolved Hide resolved
src/private/sources/retry.rs Outdated Show resolved Hide resolved
…s are likely to get throttled and should be given a longer backoff
Copy link
Contributor

@camarcio camarcio left a comment

Choose a reason for hiding this comment

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

Looks good to me!

@eidelmanjonathan eidelmanjonathan merged commit ffb6b91 into main Nov 8, 2023
1 check passed
@eidelmanjonathan eidelmanjonathan deleted the retry_get_policy branch November 8, 2023 21:18
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.

3 participants