scoutapp / scout_apm_ruby

ScoutAPM Ruby Agent. Supports Rails, Sinatra, Grape, Rack, and many other frameworks

Home Page:https://scoutapm.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sidekiq 6.5 broken

PikachuEXE opened this issue · comments

sidekiq/sidekiq#5375

Issue caused by monkey patch by this gem not passing block
https://github.com/scoutapp/scout_apm_ruby/blob/v5.1.1/lib/scout_apm/background_job_integrations/sidekiq.rb#L39-L53

Block is passed to Processor.new and thus #initialize since sidekiq 6.5.0

quoting mike there

🎯 I have no idea why they aren’t just using an on(:startup) hook.