diff options
| author | Yorick Peterse <yorickpeterse@gmail.com> | 2016-01-18 12:16:55 +0100 |
|---|---|---|
| committer | Yorick Peterse <yorickpeterse@gmail.com> | 2016-01-18 12:27:33 +0100 |
| commit | d6a8021ea11c97a8b65f8693a7afe1cb7216295b (patch) | |
| tree | 2fbdbb337c9d16628c9e032a3763d2e72272dc09 /spec/initializers | |
| parent | 835f1961e65fe9b4f943b17747b1518c555e8bfd (diff) | |
| download | gitlab-ce-d6a8021ea11c97a8b65f8693a7afe1cb7216295b.tar.gz | |
Scope issue projects to a Group when possibleissuable-group-projects
When using IssuableFinder with a Group we can greatly reduce the amount
of projects operated on (due to not including all public/internal
projects) by simply passing it down to the ProjectsFinder class.
This reduces the timings of the involved queries from roughly 300
ms to roughly 20 ms.
Fixes gitlab-org/gitlab-ce#4071, gitlab-org/gitlab-ce#3707
Diffstat (limited to 'spec/initializers')
0 files changed, 0 insertions, 0 deletions
