Skip to content

Instantly share code, notes, and snippets.

@kpheasey
Created April 1, 2017 13:08
Show Gist options
  • Save kpheasey/7eb09cf5c3fe56c988ddc58016f33060 to your computer and use it in GitHub Desktop.
Save kpheasey/7eb09cf5c3fe56c988ddc58016f33060 to your computer and use it in GitHub Desktop.
Delete All Sidekiq Batches
Sidekiq::BatchSet.new.each { |batch| Sidekiq::Batch::Status.new(batch.bid).delete }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment