mirror of
https://github.com/jlengrand/bugsink.git
synced 2026-03-10 08:01:17 +00:00
Counting incurs looking at all records which is too expensive if you have e.g. 1_000_000 issues. Note that we take a different approach than the one for Events (where we count-with-timeout). Reason for switching: https://sqlite.org/forum/forumpost/fa65709226 For Events we have a known count for the non-query case (denormalized/counted value), so we preserve what we had there. For Issues the trouble of keeping counts right for muted/etc. is not (currently) worth it.