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

Retry on connection open failures #63

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

joshbuddy
Copy link

When hitting an error on connection.open, we probably prefer to retry with some backoff instead of raising another exception. It's a bit tricky to test, just wanted to run the idea by y'all first.

@joshbuddy joshbuddy force-pushed the retry-on-open-failure branch from ec8592d to 9485e7d Compare June 12, 2019 14:49
Copy link
Collaborator

@pmac pmac left a comment

Choose a reason for hiding this comment

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

This is great! Sorry I've taken so long to get back to you. I'll see about getting a release out for it soon.

@pmac
Copy link
Collaborator

pmac commented Dec 11, 2019

@joshbuddy do you think this is ready to go out? A test to make sure the retry exception is raised wouldn't hurt, but it's probably not that big a deal. We'll need to rebase as we just merged #66 . I can also release a version for pre 3.0.0 that would support older Djangos if anyone needs that.

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