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:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-01-05 18:08:39 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-01-05 18:08:39 +0300
commit5db6a7a014eb5cac640767687819c2784b24187a (patch)
tree437b944acf93e1fc293ced48ea9f59e9515db075 /lib/gitlab/redis
parentb90cf01a88df981f452a7f6b6d74e8fd0ccbf90b (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/gitlab/redis')
-rw-r--r--lib/gitlab/redis/repository_cache.rb12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/gitlab/redis/repository_cache.rb b/lib/gitlab/redis/repository_cache.rb
new file mode 100644
index 00000000000..61eaf701e42
--- /dev/null
+++ b/lib/gitlab/redis/repository_cache.rb
@@ -0,0 +1,12 @@
+# frozen_string_literal: true
+
+module Gitlab
+ module Redis
+ class RepositoryCache < ::Gitlab::Redis::Wrapper
+ # The data we store on RepositoryCache used to be stored on Cache.
+ def self.config_fallback
+ Cache
+ end
+ end
+ end
+end