-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Introduce Config pattern #2342
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
Introduce Config pattern #2342
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like the Config pattern in general, but I feel like this is something that we need to put more thought into, I have always wanted to see a more immutable version of Jedis where you create the client/pool/cluster and that's it, if you want to modify it you create another one that with a builder-config pattern is really awesome I think.
I think we should split fixing #1824 and this config change as well as it's easier to fix that bug.
16ddcf8 to
abf9563
Compare
abf9563 to
80e529b
Compare
80e529b to
8b92bd5
Compare
If this is approved, we can extend it to JedisPool, JedisCluster, everywhere else.
Resolves #1824