gitlab-org--gitlab-foss/changelogs/unreleased/ab-43150-users-controller-show-query-limit.yml
Andreas Brandl 783868e9fa Remove N+1 query for Noteable association.
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.
2018-03-23 15:37:50 +01:00

5 lines
101 B
YAML

---
title: Remove N+1 query for Noteable association.
merge_request: 17956
author:
type: performance