Sidekiq + Rails:如何查看“忙碌”工作的队列?

时间:2015-05-29 22:10:06

标签: ruby-on-rails sidekiq

我有一个寻找工作的脚本:

Sidekiq::Queue.new(queue_name).any? { |q| q.args[0] == blah_id } ||
Sidekiq::RetrySet.new.any? { |r| r.queue == queue_name && r.args[0] == blah_id } ||
Sidekiq::ScheduledSet.new.any? { |s| s.queue == queue_name && s.args[0] == blah_id }

然而,这并不是Busy的内部: enter image description here

我如何看待Busy?

1 个答案:

答案 0 :(得分:3)