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 ability to filter by exception arguments. #24

Closed
wants to merge 1 commit into from
Closed

Add ability to filter by exception arguments. #24

wants to merge 1 commit into from

Conversation

fredthomsen
Copy link

This gives you the ability to retry if the exception meets specific conditions. For example, MySQLdb has the exception OperationalError, but in my case I only wanted to retry in case of lock wait timeouts which is error code 1205.

@cscetbon
Copy link

Is there anyone who reviews PRs ?

@fredthomsen
Copy link
Author

Based on comments in #36 and most people migrating to https://github.com/jd/tenacity, I am closing this PR.

@fredthomsen fredthomsen closed this Oct 5, 2021
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