summaryrefslogtreecommitdiff
path: root/lib/gitlab/git/repository.rb
diff options
context:
space:
mode:
authorZeger-Jan van de Weg <git@zjvandeweg.nl>2018-11-16 10:53:44 +0100
committerZeger-Jan van de Weg <git@zjvandeweg.nl>2018-11-16 12:16:25 +0100
commit35239a6aec84c47895ad6664a9b1075be12bd105 (patch)
tree52395a00d1d09ad73d527e7e1bbb0832079f63e2 /lib/gitlab/git/repository.rb
parente7a40cbe1637c7331e3397ed29a5e66ee7a1ade6 (diff)
downloadgitlab-ce-35239a6aec84c47895ad6664a9b1075be12bd105.tar.gz
Show what RPC is called in the performance bar
Now only the data was shown of the service, which is not valueable at times given some of those expose a lot of RPCs.
Diffstat (limited to 'lib/gitlab/git/repository.rb')
-rw-r--r--lib/gitlab/git/repository.rb6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/gitlab/git/repository.rb b/lib/gitlab/git/repository.rb
index 993955d1a6b..289796ae93b 100644
--- a/lib/gitlab/git/repository.rb
+++ b/lib/gitlab/git/repository.rb
@@ -885,12 +885,6 @@ module Gitlab
Gitlab::GitalyClient::ConflictsService.new(self, our_commit_oid, their_commit_oid)
end
- def gitaly_migrate(method, status: Gitlab::GitalyClient::MigrationStatus::OPT_IN, &block)
- wrapped_gitaly_errors do
- Gitlab::GitalyClient.migrate(method, status: status, &block)
- end
- end
-
def clean_stale_repository_files
wrapped_gitaly_errors do
gitaly_repository_client.cleanup if exists?