Skip to content

Reduce the expensive query to get the total count of threads.

Abhilash Raj requested to merge maxking/hyperkitty:thread-list-optimize into master

The expensive threads.count() query will result in a significantly expensive query for large lists (35ms) and it isn't really needed since all we need to figure out is if there are any emails.

Edited by Abhilash Raj

Merge request reports