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

flat-manager-client: Retry all failed API requests #74

Merged
merged 1 commit into from
Sep 28, 2022

Conversation

barthalion
Copy link
Member

@barthalion barthalion commented Sep 28, 2022

This change decorates all functions which can raise ApiError with @retry, using "random" exponential wait between retries for up to 60s between each retry. If API request fails for 5 minutes, the client will re-raise the exception and quit.

This change decorates all functions which can raise ApiError with
@Retry, using "random" exponential wait between retries for up to 60s
between each retry. If API request fails for 5 minutes, the client will
re-raise the exception and quit.
@barthalion barthalion merged commit 0290d77 into master Sep 28, 2022
@barthalion barthalion deleted the barthalion/retry-everything branch September 28, 2022 09:09
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.

1 participant