Skip to content

connectionTimeout Significance for JedisSentinelPool() #2620

Answered by yangbodong22011
anil181 asked this question in Q&A
Discussion options

You must be logged in to vote

If i want to set infinite timeout for the connectionTimout, should i set the value to 0?

true

https://javadoc.io/doc/redis.clients/jedis/3.6.0/redis/clients/jedis/JedisSentinelPool.html#connectionTimeout

in latest code, infiniteSoTimeout default value is 0.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by anil181
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants