# File src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_rails/lib/union_station_hooks_rails/active_support_cache_subscriber.rb, line 47 def cache_generate(event) reporter = Thread.current[:union_station_hooks] return if !reporter UnionStationHooks.call_event_pre_hook(event) reporter.log_cache_miss(event.payload[:key], (event.duration * 1_000_000).to_i) end