Fix high CPU usage with overboard's catalog
As an additional idea: we should limit each posts_* subquery to the maximum number of posts the the overboard catalog will display
Fix high CPU usage with overboard's catalog
Currently the query at 33af676a8d172694ebae0df17e3b0723b51c0ca9 is correct in isolation, however when used with the rest of the code, it causes a syntax error. Needs more investigation.
Fix high CPU usage with overboard's catalog
The query has a huge problem: it only counts the images in the OP
Fix high CPU usage with overboard's catalog
Right now it errors with
SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the…
Fix high CPU usage with overboard's catalog