Matrix
Matrix

Reputation: 3369

get running job sidekiq from worker (ruby)

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

Answers (0)

Related Questions