Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab/repository_set_cache.rb')
-rw-r--r--lib/gitlab/repository_set_cache.rb7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/gitlab/repository_set_cache.rb b/lib/gitlab/repository_set_cache.rb
index c67ca92af40..838f44c0f9e 100644
--- a/lib/gitlab/repository_set_cache.rb
+++ b/lib/gitlab/repository_set_cache.rb
@@ -68,12 +68,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)