summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorTiago Botelho <tiagonbotelho@hotmail.com>2018-06-01 14:15:13 +0100
committerTiago Botelho <tiagonbotelho@hotmail.com>2018-06-01 14:35:49 +0100
commit2535834f8ad35e7691384454013b5938a0a2af5d (patch)
tree67da4fe38badb35d6ac6594255b1b6ea1090da8f /app
parent4b0ff7c742f7b41d45301a4be62c611eb580817a (diff)
downloadgitlab-ce-2535834f8ad35e7691384454013b5938a0a2af5d.tar.gz
ReactiveCaching#clear_reactive_cache! should clear the not keep the cache alive
Diffstat (limited to 'app')
-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)