summaryrefslogtreecommitdiff
path: root/lib/gitlab
diff options
context:
space:
mode:
authorAhmad Sherif <me@ahmadsherif.com>2017-04-04 13:31:24 +0200
committerAhmad Sherif <me@ahmadsherif.com>2017-04-04 13:31:33 +0200
commitd56e4222573c791771b99bfbd655eecef301cf54 (patch)
treebda2ddc480cfbb4b30f5110f52c323b671694ab4 /lib/gitlab
parent5f7ebfb9aa023849b8b296bf9cf0f472b886d072 (diff)
downloadgitlab-ce-d56e4222573c791771b99bfbd655eecef301cf54.tar.gz
Disable support for Gitaly PostReceivePackfix/disable-gitaly-post-receive-pack
See https://gitlab.com/gitlab-org/gitaly/issues/172
Diffstat (limited to 'lib/gitlab')
-rw-r--r--lib/gitlab/workhorse.rb3
1 files changed, 2 insertions, 1 deletions
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'