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

fix: increase maxlisteners on event target #1050

Merged
merged 1 commit into from
Dec 6, 2021

Conversation

achingbrain
Copy link
Member

Sometimes you encounter peers with lots of addresses. When this happens you can attach more than 10x event listeners to the abort signal we use to abort all the dials - this causes node to print a warning which is misleading.

This PR increases the default number of listeners on the signal.

Fixes #900

Sometimes you encounter peers with lots of addresses. When this happens
you can attach more than 10x event listeners to the abort signal we
use to abort all the dials - this causes node to print a warning
which is misleading.

This PR increases the default number of listeners on the signal.

Fixes #900
@vasco-santos vasco-santos merged commit b70fb43 into master Dec 6, 2021
@vasco-santos vasco-santos deleted the fix/increase-default-listeners branch December 6, 2021 19:54
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.

Possible EventTarget Memory Leak Detected
2 participants