On Thu, Nov 15, 2012 at 2:48 PM, Fedor Indutny <[email protected]>
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

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to