Skip to content
This repository has been archived by the owner on Jul 21, 2023. It is now read-only.

fix: max listeners warning #316

Merged
merged 2 commits into from
Apr 17, 2022
Merged

fix: max listeners warning #316

merged 2 commits into from
Apr 17, 2022

Conversation

achingbrain
Copy link
Member

The query timeout controller signal gets passed to all of the network operations etc that run during a query so can end up with lots of listeners for it's 'abort' event, which can trigger MaxListenersExceededWarning in node which warns of a memory leak, even though there is no leak.

The query timeout controller signal gets passed to all of the network
operations etc that run during a query so can end up with lots of
listeners for it's 'abort' event, which can trigger `MaxListenersExceededWarning`
in node which warns of a memory leak, even though there is no leak
src/query/manager.ts Outdated Show resolved Hide resolved
@achingbrain achingbrain merged commit 18ba9c0 into master Apr 17, 2022
@achingbrain achingbrain deleted the fix/maxlisteners-warning branch April 17, 2022 10:02
github-actions bot pushed a commit that referenced this pull request Apr 17, 2022
### [1.0.6](v1.0.5...v1.0.6) (2022-04-17)

### Bug Fixes

* max listeners warning ([#316](#316)) ([18ba9c0](18ba9c0))
@github-actions
Copy link

🎉 This PR is included in version 1.0.6 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant