-
Notifications
You must be signed in to change notification settings - Fork 554
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
Allowing the requirement of a tcp timeout when using sentinel as well as when using redis client directly #1162
Comments
I don't think any of the maintainers has time to implement this right now,
but this should be pretty easy to implement if you want to contribute it.
Just please be aware of
#1147 (comment) -
that is, don't add a '_with_timeouts' function, like we've used in the
past, but add a '_with_config' function, so that we won't have an explosion
of options and matching functions.
…On Wed, 24 Apr 2024, 12:23 Johan Rylander, ***@***.***> wrote:
The sentinel client is using get_multiplexed_async_connection which uses
long timeout. It would be useful for us to have the connection timeouts
being configurable when using redis via sentinels as well as when accessing
a redis server directly.
Do you think is it feasible to have timeout as an option in the sentinel
client and use that when creating connections?
—
Reply to this email directly, view it on GitHub
<#1162>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABDEBBVBDETMCQLSVT55ABDY652X7AVCNFSM6AAAAABGWRD7GWVHI2DSMVQWIX3LMV43ASLTON2WKOZSGI3DAOBSGY2DKMI>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Tnx. I will give it a go |
I put together #1167 I am not sure my code is up to snuff for this project though but hope it is useful. |
fixed in #1167 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The sentinel client is using get_multiplexed_async_connection which uses long timeout. It would be useful for us to have the connection timeouts being configurable when using redis via sentinels as well as when accessing a redis server directly.
Do you think is it feasible to have timeout as an option in the sentinel client and use that when creating connections?
The text was updated successfully, but these errors were encountered: