class Sidekiq::ThrottledWorker::Middleware
Public Instance Methods
call(worker, msg, _queue) { || ... }
click to toggle source
# File lib/sidekiq/throttled_worker/middleware.rb, line 4 def call(worker, msg, _queue) yield ensure Concurrency.finalize!(worker.class, msg['jid']) if worker.class.get_sidekiq_options["concurrency"] end