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

Track the number of error reports #62

Open
chfoo opened this issue Dec 15, 2018 · 0 comments
Open

Track the number of error reports #62

chfoo opened this issue Dec 15, 2018 · 0 comments

Comments

@chfoo
Copy link
Member

chfoo commented Dec 15, 2018

Currently, as a optimization, the code only checks the number of error reports by querying max(id) - min(id). This was done because count(id) does a full table scan. It would be better if the count was stored in the database and updated by triggers.

If this is done, the deadman threshold should be tweaked to account for a more accurate report count.

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

No branches or pull requests

1 participant