MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 scanStop listeners added. Use emitter.setMaxListeners() to increase limit #22

Thanks @Steve-Mcl !

In my case I use a lot of Subflow because I build a reusable framework (and upgrade are simple)

  1. Top Node is a WebChat Node
  2. Sub Node is the LLM component used by WebChat
  3. Sub Sub Node is the Model Manager

This exemple, let buid project focus on different layers according to the objectives.

I don't find deploy very slow in my case. It's almost instant.

In fact I use Subflow as reusable components with parameters and with latest Node-RED version and env var it's really clean.

Question :
According to your description, if I have, let's say, 50? Websocket Output bind to the same output.

  • Is it a problem ?
  • I assume it is the reason of the warning. Should I increase it ? What are the side effect ?

(Yes I could create a link node in that case but it will provide a bad UX)