wankdanker / node-discover

Automatic and decentralized discovery and monitoring of nodejs instances with built in support for a variable number of master processes, service advertising and channel messaging.
229 stars 59 forks source link

fixes the case of ignoreInstance=false, ignoreProcess=true #16

Closed kostiak closed 8 years ago

kostiak commented 8 years ago

Before the change, if you set {ignoreInstance: false, ignoreProcess:true} or even just {ignoreInstance: false}, it will still ignore messages from the instance because it's from the process. This way you can receive messages from the same instance while still ignoring messages from other instances in the process. You can also set {ignoreInstance: false} without also setting the ignoreProcess flag if you don't have other instances in the same process.

wankdanker commented 8 years ago

Awesome. Thank you. v0.3.1 on npm.