Commit 18bbba99 authored by Mark Chao's avatar Mark Chao

Allow git access

This in run in bulk migration update loop,
so access can't be avoided.
parent b5f388cc
......@@ -66,7 +66,9 @@ module Gitlab
end
def sync_code_owners_with_approvers
::MergeRequest.find(id).sync_code_owners_with_approvers
Gitlab::GitalyClient.allow_n_plus_1_calls do
::MergeRequest.find(id).sync_code_owners_with_approvers
end
end
end
......
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