Skip to content

Add RedisClient::ClusterConfig#connect_timeout and #write_timeout #436

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

Merged

Conversation

joshuay03
Copy link
Contributor

@joshuay03 joshuay03 commented Jun 18, 2025

I'm working on adding redis-clustering support to https://github.com/ParentSquare/faulty, and found a discrepancy between RedisClient::Config and RedisClient::ClusterConfig in that not all timeout configurations are exposed publicly. I understand that there probably isn't a requirement for them to be consistent, so this is more of a feature request and PR to add them, unless there's a good reason not to?

Ref: https://github.com/redis-rb/redis-client/blob/2621cc2e9fd890d97206dc2beb7131dbe2e35498/lib/redis_client/config.rb#L16

@joshuay03 joshuay03 moved this to In Progress / Pending Review in Open Source Jun 18, 2025
@supercaracal supercaracal self-requested a review June 18, 2025 10:00
@supercaracal supercaracal merged commit b376171 into redis-rb:master Jun 18, 2025
33 checks passed
@joshuay03
Copy link
Contributor Author

Thank you!

@joshuay03 joshuay03 moved this from In Progress / Pending Review to Done in Open Source Jun 18, 2025
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