QNimbus/node-red-contrib-openhab-v2

When creating a flow with 3 or more -in nodes, MaxListenersExceededWarning

Closed this issue · 1 comments

On my flow with 3 openhab-v2-in nodes this warning shows up in the log.

MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 state listeners added.

Possible sollution - increase the amount of event listeners allowed for openhab-v2 nodes

Reference issue #4

This is a warning - not an error message. Can be solved by calling emitter.setMaxListeners(n) on openhab-v2-controller to allow for more listeners.