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:
authorTiago Botelho <tiagonbotelho@hotmail.com>2018-06-01 16:15:13 +0300
committerTiago Botelho <tiagonbotelho@hotmail.com>2018-06-01 16:35:49 +0300
commit2535834f8ad35e7691384454013b5938a0a2af5d (patch)
tree67da4fe38badb35d6ac6594255b1b6ea1090da8f /app/models/concerns/reactive_caching.rb
parent4b0ff7c742f7b41d45301a4be62c611eb580817a (diff)
ReactiveCaching#clear_reactive_cache! should clear the not keep the cache alive
Diffstat (limited to 'app/models/concerns/reactive_caching.rb')
-rw-r--r--app/models/concerns/reactive_caching.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/concerns/reactive_caching.rb b/app/models/concerns/reactive_caching.rb
index eef9caf1c8e..be0a5b49012 100644
--- a/app/models/concerns/reactive_caching.rb
+++ b/app/models/concerns/reactive_caching.rb
@@ -74,6 +74,7 @@ module ReactiveCaching
def clear_reactive_cache!(*args)
Rails.cache.delete(full_reactive_cache_key(*args))
+ Rails.cache.delete(alive_reactive_cache_key(*args))
end
def exclusively_update_reactive_cache!(*args)