lib/sidekiq/throttled.rb in sidekiq-throttled-1.5.0 vs lib/sidekiq/throttled.rb in sidekiq-throttled-1.5.1

- old
+ new

@@ -100,10 +100,10 @@ def requeue_throttled(work) message = JSON.parse(work.job) job_class = Object.const_get(message.fetch("wrapped") { message.fetch("class") { return false } }) Registry.get job_class do |strategy| - strategy.requeue_throttled(work, **job_class.sidekiq_throttled_requeue_options) + strategy.requeue_throttled(work) end end end end