Remove all jobs for queue
Removing specific jobs from a queue
From the Sidekiq API, jobs can be deleted by:
- Class type
- Job ID
queue = Sidekiq::Queue.new("mailer") queue.each do |job| job.klass # => 'MyWorker' job.args # => [1, 2, 3] job.delete if job.jid == 'abcdef1234567890' end
Check the latency for a queue
Inspecting runtime stats
Default queue latency:
Retry queue latency:
Processes and Workers
The processes that Sidekiq currently has configured.
A ‘worker’ is defined as a thread currently processing a job
https://github.com/mperham/sidekiq/wiki/Testing We use the
inline! method to test jobs synchronously.