-
Notifications
You must be signed in to change notification settings - Fork 8
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
duplicate events #2
Comments
|
It's strange indeed. Was able to reproduce it with this example code:
Running that and then stopping and starting zookeeper gives If I remove the stat() or set :watch => false, I get Connected -> Connecting -> Connected as expected Changing log level to debug reveals that there actually seem to be duplicate subscriptions that are then fired. Any ideas? |
Urf, ok, i'll take a look. This definitely sounds like a bug, I'll work on it a bit and update you. |
Blah, ok, i just confirmed this, gonna have to dig around, there's nothing jumping out at me. |
Getting a znode with :watch => true seems to somehow cause all on_connecting/on_connected/etc events to be subscribed again causing them to fire multiple times.
The text was updated successfully, but these errors were encountered: