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

Allowing the requirement of a tcp timeout when using sentinel as well as when using redis client directly #1162

Closed
jrylander opened this issue Apr 24, 2024 · 4 comments

Comments

@jrylander
Copy link

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?

@nihohit
Copy link
Contributor

nihohit commented Apr 24, 2024 via email

@jrylander
Copy link
Author

jrylander commented Apr 25, 2024

Tnx. I will give it a go

@jrylander
Copy link
Author

I put together #1167

I am not sure my code is up to snuff for this project though but hope it is useful.

@nihohit
Copy link
Contributor

nihohit commented Jun 13, 2024

fixed in #1167

@nihohit nihohit closed this as completed Jun 13, 2024
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