summaryrefslogtreecommitdiff
path: root/spec/features/projects/blobs/user_create_spec.rb
diff options
context:
space:
mode:
authorSean McGivern <sean@gitlab.com>2017-05-02 17:29:45 +0100
committerSean McGivern <sean@gitlab.com>2017-05-02 17:35:19 +0100
commit52d049b4f82b1a3ed358188e02ab3518e5eae5fa (patch)
tree19a0d52cb4910921d5c4599eb21de02ca35bc987 /spec/features/projects/blobs/user_create_spec.rb
parent6277bda61c511696f9d12fae4238b5214a722571 (diff)
downloadgitlab-ce-52d049b4f82b1a3ed358188e02ab3518e5eae5fa.tar.gz
Remove N+1 queries when checking nodes visible to userfix-n-plus-one-project-features
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.
Diffstat (limited to 'spec/features/projects/blobs/user_create_spec.rb')
0 files changed, 0 insertions, 0 deletions