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

Identify connection failures so they can be retried uniformly. #135

Merged
merged 1 commit into from
Dec 10, 2023

Conversation

tachyonics
Copy link
Contributor

@tachyonics tachyonics commented Dec 8, 2023

Issue #, if available:

Description of changes:

Wrap any http failures that we want to treat specially as transient connection issues in HTTPError.connectionFailure, allowing the retry logic to easily identify this class of failure and apply custom retry behaviour.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@tachyonics tachyonics merged commit 9c71b33 into main Dec 10, 2023
7 checks passed
@tachyonics tachyonics deleted the connection_failures branch December 10, 2023 22:41
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.

2 participants