Skip to content
This repository has been archived by the owner on Mar 16, 2022. It is now read-only.

Allow more exception types to trigger retries and bans #87

Closed
wants to merge 1 commit into from

Conversation

klazuka
Copy link
Contributor

@klazuka klazuka commented Nov 2, 2021

There was a bug in psycopg2 prior to 2.9 that misclassified some connection failures. This prevented us from retrying in those cases. Rather than play whack-a-mole, let's just expand the notion of retryable exception to the PEP249 Error base class (basically, any kind of database-related error).

@klazuka klazuka closed this Nov 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant