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

Custom priority for exceptions and events #47

Open
Tomas2D opened this issue Sep 4, 2022 · 0 comments
Open

Custom priority for exceptions and events #47

Tomas2D opened this issue Sep 4, 2022 · 0 comments

Comments

@Tomas2D
Copy link

Tomas2D commented Sep 4, 2022

Hello, I really appreciate the work that you have made on this library, it is exactly what I was looking for.

The main reason for me to use this package is to message me, once the server is not able to start up after some restarts. The problem is that my e-mail inbox receives tons of e-mails with the same information value -> The application cannot boot up.

The possible solution would be to allow set custom priority for exceptions or at least for events. At this time, the events has high priority and thus bypasses the batchMaxMessages and batchPeriodM as mentioned in https://github.com/pankleks/pm2-health#message-batching.

Are you will to add this feature or at least can I do a PR for this?

Thanks.

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