Commit 5dd8c05a authored by Zeger-Jan van de Weg's avatar Zeger-Jan van de Weg

Let CI catch N + 1 calls

parent 826105df
...@@ -50,11 +50,8 @@ class Projects::MergeRequestsController < Projects::MergeRequests::ApplicationCo ...@@ -50,11 +50,8 @@ class Projects::MergeRequestsController < Projects::MergeRequests::ApplicationCo
set_pipeline_variables set_pipeline_variables
# n+1: https://gitlab.com/gitlab-org/gitlab-ce/issues/37432
Gitlab::GitalyClient.allow_n_plus_1_calls do
render render
end end
end
format.json do format.json do
Gitlab::PollingInterval.set_header(response, interval: 10_000) 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