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/reactive_cache_set_cache.rb')
-rw-r--r--lib/gitlab/reactive_cache_set_cache.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/gitlab/reactive_cache_set_cache.rb b/lib/gitlab/reactive_cache_set_cache.rb
index e62e1172b65..7fee1d0727f 100644
--- a/lib/gitlab/reactive_cache_set_cache.rb
+++ b/lib/gitlab/reactive_cache_set_cache.rb
@@ -10,11 +10,12 @@ module Gitlab
@expires_in = expires_in
end
- def cache_key(key)
+ # NOTE Remove as part of #331319
+ def old_cache_key(key)
"#{cache_namespace}:#{key}:set"
end
- def new_cache_key(key)
+ def cache_key(key)
super(key)
end