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_cache.rb')
-rw-r--r--lib/gitlab/repository_cache.rb7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/gitlab/repository_cache.rb b/lib/gitlab/repository_cache.rb
index 8de2c2fe772..498eaf92381 100644
--- a/lib/gitlab/repository_cache.rb
+++ b/lib/gitlab/repository_cache.rb
@@ -50,12 +50,7 @@ module Gitlab
end
def self.store
- if Feature.enabled?(:use_primary_and_secondary_stores_for_repository_cache) ||
- Feature.enabled?(:use_primary_store_as_default_for_repository_cache)
- Gitlab::Redis::RepositoryCache.cache_store
- else
- Rails.cache
- end
+ Gitlab::Redis::RepositoryCache.cache_store
end
end
end