• Sean McGivern's avatar
    Remove N+1 queries when checking nodes visible to user · 52d049b4
    Sean McGivern authored
    N in this case is low, as it's the number of distinct projects referenced from
    MRs, rather than the number of MRs referenced (issues use their own
    optimization). Still, on issues or MRs which are often referenced from MRs, it
    will save a few queries.
    52d049b4
merge_request_parser.rb 1.29 KB