diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-02-09 21:07:44 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-02-09 21:07:44 +0300 |
commit | 453634293e24164ffaa5cd708e47a1cebc07bcd3 (patch) | |
tree | e49bb067fc508f57b03ac582872c4b1215eec326 /lib/gitlab/repository_hash_cache.rb | |
parent | 608d6aaa3d80a33862ca2c29d96bfd687b1a011b (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/gitlab/repository_hash_cache.rb')
-rw-r--r-- | lib/gitlab/repository_hash_cache.rb | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/gitlab/repository_hash_cache.rb b/lib/gitlab/repository_hash_cache.rb index ea90a341b1e..1f3c084e194 100644 --- a/lib/gitlab/repository_hash_cache.rb +++ b/lib/gitlab/repository_hash_cache.rb @@ -140,12 +140,7 @@ module Gitlab private def cache - if Feature.enabled?(:use_primary_and_secondary_stores_for_repository_cache) || - Feature.enabled?(:use_primary_store_as_default_for_repository_cache) - Gitlab::Redis::RepositoryCache - else - Gitlab::Redis::Cache - end + Gitlab::Redis::RepositoryCache end def with(&blk) |