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,9 +66,11 @@ module Gitlab
end
def sync_code_owners_with_approvers
Gitlab::GitalyClient.allow_n_plus_1_calls do
::MergeRequest.find(id).sync_code_owners_with_approvers
end
end
end
class Project < ActiveRecord::Base
self.table_name = 'projects'
......
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