Speed up counting comments and drafts in the issue view. The old approach spawned a query for each Patch in the issue. This made e.g. /990 exceed the deadline every single time, since it has about 100 patches.
Speed up counting comments and drafts in the issue view.
The old approach spawned a query for each Patch in the issue.
This made e.g. /990 exceed the deadline every single time,
since it has about 100 patches.

ligthyear/quick-check,ligthyear/quick-check