• Yorick Peterse's avatar
    Scope issue projects to a Group when possible · d6a8021e
    Yorick Peterse authored
    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
issuable_finder.rb 5.54 KB