This is useful in development. Do this:
[ruby]
class SidekiqUtil
def self.queues ::Sidekiq::Stats.new.queues.keys.map { |name| ::Sidekiq::Queue.new(name) } end
def self.clear_all self.queues.each { |q| q.clear } end
end
[/ruby]
Based on the Sidekiq API