Commit 0d95d3c0 authored by David Kim's avatar David Kim

Remove Gitaly allow_na_plus_1_calls as we don't seem to need it anymore

parent 56c2e005
...@@ -12,10 +12,7 @@ class Projects::MergeRequests::CreationsController < Projects::MergeRequests::Ap ...@@ -12,10 +12,7 @@ class Projects::MergeRequests::CreationsController < Projects::MergeRequests::Ap
before_action :build_merge_request, except: [:create] before_action :build_merge_request, except: [:create]
def new def new
# n+1: https://gitlab.com/gitlab-org/gitlab-foss/issues/40934 define_new_vars
Gitlab::GitalyClient.allow_n_plus_1_calls do
define_new_vars
end
end end
def create 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