Martin Betak created CURATOR-475:
------------------------------------
Summary: Cannot effectively set connectionTimeout < 1000ms
Key: CURATOR-475
URL: https://issues.apache.org/jira/browse/CURATOR-475
Project: Apache Curator
Issue Type: Bug
Components: Client
Reporter: Martin Betak
Regardless of the value set in {{connectionTimeoutMs}} the
{{CuratorZookeeperClient#internalBlockUntilConnectedOrTimedOut}} method does
the initial wait with value of 1 second, effectively making settings lower than
this value ineffective. A simple change that would change the {{1 second}} to
{{min(remainingWaitTime, 1 second)}} would solve the problem.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)