On Thu, Nov 15, 2012 at 2:48 PM, Fedor Indutny <
fe...@indutny.com>
wrote:
> it's just to debug event listener leaks, which may happen
> if you're attaching the same listener to the same event emitter over and
> over again.
I just set `redisClient.setMaxListeners(0)`, until I thought again, and:
That warning actually makes sense! My app does have a leak:
The problem is that new event listeners are added on every Socket.IO
connection (= browser connection). But: When a browser disconnects, then
that is not registered, and the listeners persist. Now I wonder how to
avoid that problem:
https://groups.google.com/forum/#!topic/socket_io/S5G6f4YJdvo