class Sidekiq::Recursive::Hooks::AfterAll

Public Class Methods

run(worker, worker_id) click to toggle source
# File lib/sidekiq/recursive/hooks/after_all.rb, line 2
def self.run(worker, worker_id)
  action_name = worker.after_all
  return unless action_name
  return unless worker.recursive_worker_count == worker_id
  worker.new.send(action_name)
  true
end