Reputation: 3369
workers = Sidekiq::Workers.new
workers.each do |_process_id, _thread_id, work|
p work['payload']['jid']
end
How can I get the job from the worker?
I have the jid but job aren't in Queue because still running...
Upvotes: 4
Views: 1488