summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJacob Vosmaer <jacob@gitlab.com>2017-07-25 13:59:50 +0200
committerJacob Vosmaer <jacob@gitlab.com>2017-07-25 15:23:41 +0200
commita78306e7fa0e815a5586a81ee9c2fcf095793de4 (patch)
treef2869c845434f433772d454bd347a4ae450c410c /lib
parentc2c8d7ffabaeb6514f7bf15fb5330c8402d80333 (diff)
downloadgitlab-ce-a78306e7fa0e815a5586a81ee9c2fcf095793de4.tar.gz
Enable gitaly_post_upload_pack by default
Diffstat (limited to 'lib')
-rw-r--r--lib/gitlab/workhorse.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/gitlab/workhorse.rb b/lib/gitlab/workhorse.rb
index 5dd8a38fea2..3f25e463412 100644
--- a/lib/gitlab/workhorse.rb
+++ b/lib/gitlab/workhorse.rb
@@ -35,7 +35,10 @@ module Gitlab
when 'git_receive_pack'
Gitlab::GitalyClient.feature_enabled?(:post_receive_pack)
when 'git_upload_pack'
- Gitlab::GitalyClient.feature_enabled?(:post_upload_pack)
+ Gitlab::GitalyClient.feature_enabled?(
+ :post_upload_pack,
+ status: Gitlab::GitalyClient::MigrationStatus::OPT_OUT
+ )
when 'info_refs'
true
else