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

add ListenerRefusalError and ListenerLeakError which get logged when listener thresholds are exceeded. #212900

Merged
merged 2 commits into from
May 16, 2024

Conversation

jrieken
Copy link
Member

@jrieken jrieken commented May 16, 2024

The stack property of these errors will point towards the most frequent listener and how often it is used. If that's a high number there is a leak (same listener is added over and over again), if that's a low number there might be a conceptual flaw that an emitter is simply too prominent.

…hen listener thresholds are exceeded.

The `stack` property of these errors will point towards the most frequent listener and how often it is used. If that's a high number there is a leak (same listener is added over and over again), if that's a low number there might be a conceptual flaw that an emitter is simply too prominent.
@jrieken jrieken self-assigned this May 16, 2024
@jrieken jrieken enabled auto-merge (squash) May 16, 2024 14:36
@vscodenpa vscodenpa added this to the May 2024 milestone May 16, 2024
@jrieken jrieken merged commit 2d97803 into main May 16, 2024
6 checks passed
@jrieken jrieken deleted the joh/content-walrus branch May 16, 2024 15:29
@microsoft microsoft locked and limited conversation to collaborators Jun 30, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants