JustinTulloss / zeromq.node

Node.js bindings to the zeromq library
MIT License
1.65k stars 286 forks source link

Change params of monitoring dynamically? #579

Closed sirudog closed 7 years ago

sirudog commented 7 years ago

I tried to get some example or info about this but so far could not find anything.

My question is: how can I change the interval or the number of events of an already setup and started monitoring? Calling unmonitor, and then monitor with the new params will surely work, but can it be done maybe in a simpler way? (without stopping the monitoring) If I call monitor again with different parameters, will it start another monitoring next to the other one started before?

Any help is much appreciated

sirudog commented 7 years ago

OK, I have made a quick test and it looks like calling monitor with different arguments on the same socket does what I want. I would thank a confirmation very much though ;-) Leaving this issue open hoping someone can verify this...

sirudog commented 7 years ago

No luck for anybody confirming this, closing...