N+1 query on ListElements, ListElementChildren and ListElementParents
I opened a random corpus on the frontend while I had runserver_plus --print-sql
on another screen, and noticed that a lot of queries were made on WorkerRun
. The worker runs of the listed elements are not in a select_related
. Up to 500 queries could be made to fetch every worker run of every element.