- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 176
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
Allow workers to specify redis Retry Helpers settings #386
Comments
example stack trace:
|
proposed fix: #387 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently the retry settings conn_retries, conn_timeout, conn_retry_delay are only applied to the initial connection and any connection issues while running, eg: temporary network hiccup, disconnected by host, will cause the worker to crash.
Proposing extending for the following settings:
retry: Retry instance with a Backoff strategy and the max number of retries
retry_on_error: list of Exceptions to retry on
retry_on_timeout: if True, retry on TimeoutError only
redis-py documentation on retry helpers:
https://redis-py.readthedocs.io/en/stable/retry.html
The text was updated successfully, but these errors were encountered: