Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Silence EventEmitter memory leak warning #311 #957

Merged
merged 1 commit into from
Jul 7, 2014

Conversation

watson
Copy link
Contributor

@watson watson commented Jul 7, 2014

When performing a lot of concurrent requests on a keep-alive connection, a lot of error handlers can be added, which in turn will result in the following warning: "possible EventEmitter memory leak detected. 11 listeners added". This isn't really a memory leak and should just be silenced.

When performing a lot of concurrent requests on a keep-alive connection, a lot of error handlers can be added, which in turn will result in the following warning: "possible EventEmitter memory leak detected. 11 listeners added". This isn't really a memory leak and should just be silenced.
@watson
Copy link
Contributor Author

watson commented Jul 7, 2014

This fixes #311

mikeal added a commit that referenced this pull request Jul 7, 2014
Silence EventEmitter memory leak warning #311
@mikeal mikeal merged commit 8bd5b09 into request:master Jul 7, 2014
nylen pushed a commit to nylen/request that referenced this pull request Oct 17, 2014
Silence EventEmitter memory leak warning request#311
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants