You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Has anyone noticed issues where you have one etcd client and choose to create multiple watchers on that client?
When I do this, the watchers don't update correctly and when calling stop() on them, they make the node process hang.
Here's some background as to what I'm working on. The loadKeys methods grabs each value, sets it on a global object. It should set up a unique watcher for each value as well. I had to create a new instance in the setWatcher method to prevent weird clashing / buggy behavior when keys are updated.
Hello, really sorry about the late reply.
The http agent pool was increased at some time in the past, a small pool might have been the issue.
Is this still a problem?
Has anyone noticed issues where you have one etcd client and choose to create multiple watchers on that client?
When I do this, the watchers don't update correctly and when calling stop() on them, they make the node process hang.
Here's some background as to what I'm working on. The
loadKeys
methods grabs each value, sets it on a global object. It should set up a unique watcher for each value as well. I had to create a new instance in thesetWatcher
method to prevent weird clashing / buggy behavior when keys are updated.https://github.com/jonmorehouse/node-config/blob/master/lib/etcd.coffee
The text was updated successfully, but these errors were encountered: