You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@curator.apache.org by "Martin Betak (JIRA)" <ji...@apache.org> on 2018/08/09 09:29:00 UTC
[jira] [Created] (CURATOR-475) Cannot effectively set
connectionTimeout < 1000ms
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)