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
Using multiple gateway (Same socket io server).
When there a connection we get 'Possible EventEmitter memory leak detected. X disconnect listeners added to [Socket]'
It looks like for every gateway for every connection is subscribed to disconnect event(Also connect). Look on image below:
The file is ws-adapter.js
Expected behavior
Not to get this warning or at least understand what can cause it and what is the risk
Possible Solution
N/A
Environment
Nest version: 7.6.11
I also tried to update to latest but with no success
For Tooling issues:
- Node version: 12.16.3
- Platform: Windows
The text was updated successfully, but these errors were encountered:
Bug Report
Current behavior
Using multiple gateway (Same socket io server).
When there a connection we get 'Possible EventEmitter memory leak detected. X disconnect listeners added to [Socket]'
It looks like for every gateway for every connection is subscribed to disconnect event(Also connect). Look on image below:
The file is ws-adapter.js
Expected behavior
Not to get this warning or at least understand what can cause it and what is the risk
Possible Solution
N/A
Environment
The text was updated successfully, but these errors were encountered: