summaryrefslogtreecommitdiff
path: root/spec/models/hooks
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2017-10-02 09:47:08 -0700
committerStan Hu <stanhu@gmail.com>2017-10-02 21:48:34 -0700
commit10096256f1cf91cbf3bc10e4f02499d265a87bfb (patch)
tree952580b5b5e959d9ee381ab6d060d9127fd8bcd4 /spec/models/hooks
parent4d5ea927d6e3a91c1b89f8978dbd5fb67e723452 (diff)
downloadgitlab-ce-sh-improve-perf-notes-actions.tar.gz
Improve performance of filtering notes in NotesControllersh-improve-perf-notes-actions
Reduces the number of queries needed to redact notes to which the user does not have access. Also includes an N+1 query test as a guard against future issues. This is a follow-up from https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/14327#note_40976854.
Diffstat (limited to 'spec/models/hooks')
0 files changed, 0 insertions, 0 deletions