Skip to content

Conversation

@sazzad16
Copy link
Contributor

@sazzad16 sazzad16 commented Jan 18, 2021

If this is approved, we can extend it to JedisPool, JedisCluster, everywhere else.

Resolves #1824

Copy link
Contributor

@mina-asham mina-asham left a 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.

@sazzad16 sazzad16 modified the milestones: 3.5.0, 3.6.0 Jan 19, 2021
@sazzad16 sazzad16 force-pushed the config-pattern branch 3 times, most recently from 16ddcf8 to abf9563 Compare January 20, 2021 10:19
@sazzad16 sazzad16 marked this pull request as draft January 21, 2021 04:59
@sazzad16 sazzad16 removed this from the 3.6.0 milestone Jan 22, 2021
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.

if uri contains dbIndex, timeout configuration doesn't work

2 participants