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
Timeout settings not applied to sentinel connection #1487
Comments
bernard-xl
changed the title
Timeout settings didn't applied to sentinel connection
Timeout settings not applied to sentinel connection
Mar 17, 2017
bernard-xl
pushed a commit
to bernard-xl/jedis
that referenced
this issue
Mar 17, 2017
@HeartSaVioR ^? |
@bernard-xl To clarify, except for If we ought to care, we should also (and specially) think about password which is stated in #1636 |
+1 |
Resolved by #1943 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected behavior
The
connectionTimeout
andsoTimeout
arguments inJedisSentinelPool
constructor are applicable to all connections (connection to Sentinels, and Master).Actual behavior
The connection timeout of Sentinel connection is 2000 ms regardless of
connectionTimeout
andsoTimeout
value. Is this purposely designed or a bug?Steps to reproduce:
new JedisSentinelPool(masterName, nonRoutable, config, connectionTimeout)
Redis / Jedis Configuration
Jedis version: 2.7.2
Redis version: 3.2.4
Java version: 1.8.0
The text was updated successfully, but these errors were encountered: