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

emit a warning if the event loop delay is over a user-determined threshold. #2

Open
mcollina opened this issue Jan 4, 2019 · 0 comments

Comments

@mcollina
Copy link

mcollina commented Jan 4, 2019

Accumulated event loop delay is great if we need it for stats purposes, however it will always grow to infinity. In long-running processes, something that is more valuable is to know if the event loop delay grows over a given threshold, plus the latest, point-in-time delay.

This enables 503 protection like https://github.com/mcollina/loopbench/blob/master/example.js#L20-L23.

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

No branches or pull requests

1 participant