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
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.
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 theignoreProcess
flag if you don't have other instances in the same process.