• Fabio Pitino's avatar
    Allow ReactiveCaching to support nil value · 67de299b
    Fabio Pitino authored
    When :calculate_reactive_caching returns a nil value
    this caused ReactiveCaching to schedule a worker
    every time the code using :with_reactive_cache was called.
    
    This issue caused an increasing amount of Sidekiq jobs
    being created continuously.
    
    Implementing this fix behind feature flag
    :reactive_caching_check_key_exists
    67de299b
reactive_caching.rb 5.75 KB