diff options
author | Tiago Botelho <tiagonbotelho@hotmail.com> | 2018-06-01 14:15:13 +0100 |
---|---|---|
committer | Tiago Botelho <tiagonbotelho@hotmail.com> | 2018-06-01 14:35:49 +0100 |
commit | 2535834f8ad35e7691384454013b5938a0a2af5d (patch) | |
tree | 67da4fe38badb35d6ac6594255b1b6ea1090da8f /app | |
parent | 4b0ff7c742f7b41d45301a4be62c611eb580817a (diff) | |
download | gitlab-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.rb | 1 |
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) |