Commit b22d58b2 authored by Grzegorz Bizon's avatar Grzegorz Bizon

Merge branch...

Merge branch '20368-projects-mergerequests-creationscontroller-is-calling-gitaly-n-1-times-per-request' into 'master'

Remove Gitaly allow_n_plus_1_calls from Projects::MergeRequests::CreationsController

See merge request gitlab-org/gitlab!22229
parents 7b5ef690 0d95d3c0
......@@ -12,10 +12,7 @@ class Projects::MergeRequests::CreationsController < Projects::MergeRequests::Ap
before_action :build_merge_request, except: [:create]
def new
# n+1: https://gitlab.com/gitlab-org/gitlab-foss/issues/40934
Gitlab::GitalyClient.allow_n_plus_1_calls do
define_new_vars
end
define_new_vars
end
def create
......
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