Commit 96404836 authored by Erick Bajao's avatar Erick Bajao

Remove feature flag for reactive caching key check

parent a0d3691c
......@@ -173,11 +173,7 @@ module ReactiveCaching
end
def within_reactive_cache_lifetime?(*args)
if Feature.enabled?(:reactive_caching_check_key_exists, default_enabled: true)
Rails.cache.exist?(alive_reactive_cache_key(*args))
else
!!Rails.cache.read(alive_reactive_cache_key(*args))
end
Rails.cache.exist?(alive_reactive_cache_key(*args))
end
def enqueuing_update(*args)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment