gitlab-org--gitlab-foss/changelogs/unreleased/dont-use-limit-offset-when-counting-projects.yml
Yorick Peterse f77fda6437
Improve checking if projects would be returned
In various places we check if the same relation would return projects.
This is done using "any?" which will run a COUNT query with any
LIMIT/OFFSET values still applied.

To work around all this we introduce 2 helper methods that take care of
doing the right thing. This leads to the produced queries being simpler
and fewer queries being executed.
2017-08-07 12:38:27 +02:00

4 lines
107 B
YAML

---
title: "Improve performance of checking for projects on the projects dashboard"
merge_request:
author: