Logo

dzirtusss (aka Sergey Tarasov)

Sidekiq kill all from ruby console

08 Mar 2019

This clears all jobs from all sidekiq queues.

Sidekiq::Queue.all.each(&:clear)
Sidekiq::RetrySet.new.clear
Sidekiq::ScheduledSet.new.clear
Sidekiq::DeadSet.new.clear

Comments: 0

You could post a comment here:

Name:
Email:
Message: