Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem to set multiple watchers #12

Open
andersoncunha opened this issue Aug 12, 2014 · 2 comments
Open

Problem to set multiple watchers #12

andersoncunha opened this issue Aug 12, 2014 · 2 comments

Comments

@andersoncunha
Copy link

I need to set whatchers in more than one key, but doing so it's not possible to make any further request to jetcd, because the requests remain standing. How can I solve this?

@kyleschlosser
Copy link

I ran into this issue as well, it seems that creating a second watch causes a deadlock.

@andersoncunha
Copy link
Author

I solved this issue creating a pull of CloseableHttpAsyncClient (client
connection), the bind maintain only one httpclient, so wen we make a get
with wait=true (like done in jetcd watcher), the client came blocked
awaiting!

I've made some corrections and customizations over the bind code and intend
to contribute with the project after some amount of tests.

Thanks,

Att,
Anderson Cunha

2014-08-25 14:21 GMT-03:00 kyleschlosser notifications@github.com:

I ran into this issue as well, it seems that creating a second watch
causes a deadlock.


Reply to this email directly or view it on GitHub
#12 (comment).

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

No branches or pull requests

2 participants