diff options
author | Andreas Brandl <abrandl@gitlab.com> | 2018-03-23 13:58:46 +0100 |
---|---|---|
committer | Andreas Brandl <abrandl@gitlab.com> | 2018-03-23 15:37:50 +0100 |
commit | 783868e9faa1e3dff27765f8244dc59898a2f7b2 (patch) | |
tree | c13296bff1c90461e2db7385b021630af9506849 /doc/gitlab-basics | |
parent | 3cd95700d4ba4aa48c1d551e6982e9390594a1de (diff) | |
download | gitlab-ce-783868e9faa1e3dff27765f8244dc59898a2f7b2.tar.gz |
Remove N+1 query for Noteable association.ab-43150-users-controller-show-query-limit
For each event with `Event#target_type` of "Note",
we had a query to load the associated instance `noteable`.
For example, if `Note` was related to an issue, we'd load each `Issue`
with its own query (N+1 problem).
Closes #43150.
Diffstat (limited to 'doc/gitlab-basics')
0 files changed, 0 insertions, 0 deletions