Delete all Sidekiq Pro Batches

https://github.com/mperham/sidekiq/wiki/Batches

bs = Sidekiq::BatchSet.new
bs.each do |batch|
  puts batch.bid
  batch.delete
end
Bonyiii About 4 years ago