You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My project installed promise-socket@6.0.3, when I call 'socket.writeAll' in setInterval, some warnings printed on console.
(node:46580) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 error listeners added. Use emitter.setMaxListeners() to increase limit
(node:46580) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 close listeners added. Use emitter.setMaxListeners() to increase limit
(node:46580) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 finish listeners added. Use emitter.setMaxListeners() to increase limit
(node:46580) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 drain listeners added. Use emitter.setMaxListeners() to increase limit
And I can't listen timeout event with on or once of promise-socket's instance, so I use promiseSocketInstance.socket.once instead.
Thanks.
The text was updated successfully, but these errors were encountered:
My project installed promise-socket@6.0.3, when I call 'socket.writeAll' in setInterval, some warnings printed on console.
And I can't listen timeout event with
on
oronce
of promise-socket's instance, so I usepromiseSocketInstance.socket.once
instead.Thanks.
The text was updated successfully, but these errors were encountered: