Skip to content

Support client timeouts < 1000ms#274

Merged
asfgit merged 1 commit intoapache:masterfrom
matobet:master
Sep 23, 2018
Merged

Support client timeouts < 1000ms#274
asfgit merged 1 commit intoapache:masterfrom
matobet:master

Conversation

@matobet
Copy link
Copy Markdown
Contributor

@matobet matobet commented Aug 8, 2018

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.

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.
@matobet
Copy link
Copy Markdown
Contributor Author

matobet commented Aug 8, 2018

I encountered this problem on one project I work on (using curator-framework 2.8.0). Could this change be possibly considered also for curator 2.x?

@Randgalt
Copy link
Copy Markdown
Member

Randgalt commented Aug 8, 2018

Please create a Jira issue for this per: https://cwiki.apache.org/confluence/display/CURATOR/Submitting+Pull+Requests

@Randgalt
Copy link
Copy Markdown
Member

Randgalt commented Aug 8, 2018

Could this change be possibly considered also for curator 2.x?

We're not doing 2.x releases anymore. It's EOL.

@matobet
Copy link
Copy Markdown
Contributor Author

matobet commented Aug 9, 2018

@Randgalt thank you for the quick response. I created https://issues.apache.org/jira/browse/CURATOR-475 for this. Should I discard this PR and make a new one from a branch named CURATOR-475 now or we can somehow links this existing PR with the created JIRA?

@asfgit asfgit merged commit 1afa38e into apache:master Sep 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants