From d56e4222573c791771b99bfbd655eecef301cf54 Mon Sep 17 00:00:00 2001 From: Ahmad Sherif Date: Tue, 4 Apr 2017 13:31:24 +0200 Subject: Disable support for Gitaly PostReceivePack See https://gitlab.com/gitlab-org/gitaly/issues/172 --- lib/gitlab/workhorse.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/gitlab') diff --git a/lib/gitlab/workhorse.rb b/lib/gitlab/workhorse.rb index d0637f8b394..09c3bd8fc9e 100644 --- a/lib/gitlab/workhorse.rb +++ b/lib/gitlab/workhorse.rb @@ -35,7 +35,8 @@ module Gitlab feature_enabled = case action.to_s when 'git_receive_pack' - Gitlab::GitalyClient.feature_enabled?(:post_receive_pack) + # Disabled for now, see https://gitlab.com/gitlab-org/gitaly/issues/172 + false when 'git_upload_pack' Gitlab::GitalyClient.feature_enabled?(:post_upload_pack) when 'info_refs' -- cgit v1.2.1