summaryrefslogtreecommitdiff
path: root/doc/gitlab-basics/add-merge-request.md
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2019-03-01 10:12:50 -0800
committerStan Hu <stanhu@gmail.com>2019-03-01 10:57:09 -0800
commita769292c672dea9fae702dd75f643a14752110ee (patch)
tree779108b3ed100cd47c2f973f49a553d275112df5 /doc/gitlab-basics/add-merge-request.md
parentd86de642d16e0f7518c7f508b5282c89128e9a58 (diff)
downloadgitlab-ce-a769292c672dea9fae702dd75f643a14752110ee.tar.gz
Eliminate most N+1 queries loading UserController#calendar_activities
We can reduce a significant number of queries by preloading the associations for events. On GitLab.com, for a date that had 456 events, this brought the load time down from 8.7 to 1.2 s. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/58392
Diffstat (limited to 'doc/gitlab-basics/add-merge-request.md')
0 files changed, 0 insertions, 0 deletions