diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-02-20 16:49:51 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-02-20 16:49:51 +0300 |
commit | 71786ddc8e28fbd3cb3fcc4b3ff15e5962a1c82e (patch) | |
tree | 6a2d93ef3fb2d353bb7739e4b57e6541f51cdd71 /lib/gitlab/repository_hash_cache.rb | |
parent | a7253423e3403b8c08f8a161e5937e1488f5f407 (diff) |
Add latest changes from gitlab-org/gitlab@15-9-stable-eev15.9.0-rc42
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) |