diff options
author | Jacob Vosmaer <jacob@gitlab.com> | 2019-05-07 18:18:08 +0300 |
---|---|---|
committer | Sean McGivern <sean@gitlab.com> | 2019-05-07 18:18:08 +0300 |
commit | 5dc68854f85baa56f82d8c9aeafc9bcad84050c1 (patch) | |
tree | 43f7e404da4fa871fa20e7ec5b3fe68189a6967c /lib | |
parent | ed823c356f3875bf499b12aef29d3fe061b5a666 (diff) |
Register "gitaly_delta_islands" feature flag
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/gitaly_client.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/gitlab/gitaly_client.rb b/lib/gitlab/gitaly_client.rb index 4908f236cd1..05e06eec012 100644 --- a/lib/gitlab/gitaly_client.rb +++ b/lib/gitlab/gitaly_client.rb @@ -32,7 +32,8 @@ module Gitlab CLIENT_NAME = (Sidekiq.server? ? 'gitlab-sidekiq' : 'gitlab-web').freeze SERVER_FEATURE_CATFILE_CACHE = 'catfile-cache'.freeze - SERVER_FEATURE_FLAGS = [SERVER_FEATURE_CATFILE_CACHE].freeze + # Server feature flags should use '_' to separate words. + SERVER_FEATURE_FLAGS = [SERVER_FEATURE_CATFILE_CACHE, 'delta_islands'].freeze MUTEX = Mutex.new |