Skip to content

retry_connection #13

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

Closed
binarymatt opened this issue Feb 19, 2010 · 1 comment
Closed

retry_connection #13

binarymatt opened this issue Feb 19, 2010 · 1 comment

Comments

@binarymatt
Copy link

i'm testing my code against the 1.34.1 version and noticed that the retry_connection keyword argument is no longer available. Is this an intentional ommission from the Redis class initialization?

@andymccurdy
Copy link
Contributor

It is intentional. If the client gets disconnected, it will automatically retry the connection once per command execution. If the reconnection fails, the error will be raised. This has worked out pretty well for my use cases. If there is a use case that requires different logic, please let me know.

This issue was closed.
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

No branches or pull requests

2 participants