This instance will be upgraded to Heptapod 0.31.0 (final) on 2022-05-24 at 14:00 UTC+2 (a few minutes of down time)

Commit 70b87643 authored by Sean McGivern's avatar Sean McGivern
Browse files

Merge branch 'zj-n-1-merge-requests-show' into 'master'

Remove N + 1 issue for MergeRequests#show

Closes #37432 and gitaly#994

See merge request gitlab-org/gitlab-ce!16967
......@@ -50,11 +50,8 @@ def show
set_pipeline_variables
# n+1: https://gitlab.com/gitlab-org/gitlab-ce/issues/37432
Gitlab::GitalyClient.allow_n_plus_1_calls do
render
end
end
format.json do
Gitlab::PollingInterval.set_header(response, interval: 10_000)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment