sidekiq-throttled
sidekiq-throttled copied to clipboard
Create Sidekiq::Throttled::Job alias
This replicates one of the latest changes in Sidekiq 6.3.0. Basically the word "worker" is usually used for the process or thread that's actually processing the jobs in the queue, rather than the jobs themselves. To solve this we just alias Job
to Worker
.
Please add require "sidekiq/throttled/job"
after: https://github.com/sensortower/sidekiq-throttled/blob/f27b0672404d83b91736076c5f30523f831162e3/lib/sidekiq/throttled.rb#L12
Also, please rebase, and I'll be happy to merge.
@ixti, thanks for the feedback - finally got around to doing this!
Thank you! Merged and released as 0.16.0.
Thank you! Merged and released as 0.16.0.