Skip to content

ReactiveCaching#clear_reactive_cache! should not keep the cache alive

Tiago Botelho requested to merge reactive-caching-alive-bug into master

What does this MR do?

When calling ReactiveCaching#clear_reactive_cache! we only expire the key that holds the data and not the cache that says if the cache is outdated. This can result in getting multiple nil returns when the cache is supposedly "alive". By clearing the alive cache as well we are essentially trying to refresh the cache.

Screenshots (if relevant)

Does this MR meet the acceptance criteria?

Merge request reports