diff options
author | Jacob Vosmaer (GitLab) <jacob@gitlab.com> | 2018-01-22 19:51:47 +0300 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2018-01-22 19:51:47 +0300 |
commit | 583cff8d61f297fd12daabbd92adc4c05052519c (patch) | |
tree | 6d31d82ed946367b0315f6127d23da53b7902e45 /lib/gitlab/workhorse.rb | |
parent | 32e41b5f0c299e73f9435df4da8b934e69782b3c (diff) |
Default to Gitaly for 'git push' HTTP/SSH, and make Gitaly mandatory for SSH pull
Diffstat (limited to 'lib/gitlab/workhorse.rb')
-rw-r--r-- | lib/gitlab/workhorse.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/gitlab/workhorse.rb b/lib/gitlab/workhorse.rb index 0de183858aa..633da44b22d 100644 --- a/lib/gitlab/workhorse.rb +++ b/lib/gitlab/workhorse.rb @@ -34,7 +34,10 @@ module Gitlab feature_enabled = case action.to_s when 'git_receive_pack' - Gitlab::GitalyClient.feature_enabled?(:post_receive_pack) + Gitlab::GitalyClient.feature_enabled?( + :post_receive_pack, + status: Gitlab::GitalyClient::MigrationStatus::OPT_OUT + ) when 'git_upload_pack' true when 'info_refs' |