[
https://issues.apache.org/jira/browse/CURATOR-475?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jordan Zimmerman resolved CURATOR-475.
--------------------------------------
Resolution: Fixed
> 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
> Priority: Minor
> Fix For: 4.1.0
>
>
> 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)