GitHub user matobet opened a pull request:
https://github.com/apache/curator/pull/274
Support client timeouts < 1000ms
Before, regardless of the value set in `connectionTimeoutMs` the
CuratorZookeeperClient#internalBlockUntilConnectedOrTimedOut method did
the initial wait with value of 1 second, which made settings lower than
this value ineffective. This proved problematic in several use cases
where such minimum for timeout is prohibitively large.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/matobet/curator master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/curator/pull/274.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #274
----
commit 1afa38eab9d1ad878e5b47542922dac2c4485236
Author: Martin Betak <matobet@...>
Date: 2018-08-08T11:51:28Z
Support client timeouts < 1000ms
Before, regardless of the value set in `connectionTimeoutMs` the
CuratorZookeeperClient#internalBlockUntilConnectedOrTimedOut method did
the initial wait with value of 1 second, which made settings lower than
this value ineffective. This proved problematic in several use cases
where such minimum for timeout is prohibitively large.
----
---