Commit d44d72a3 authored by Ash McKenzie's avatar Ash McKenzie

Merge branch 'eb-remove-flag-reactive-caching' into 'master'

Remove feature flag for reactive caching key check

Closes #29944

See merge request gitlab-org/gitlab!16665
parents 97cc765d 96404836
......@@ -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
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