Skip to content

Fix issues controller N+1 failure

Sean McGivern requested to merge backport-ce-to-ee-spec-fix into master

This came from https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/7811.

Quoting the commit message:

EE needs :request_store to cache license queries - otherwise we will blow past the query limit just with SELECT * FROM licenses over and over.

cc @mdelaossa (for future reference)

Merge request reports