How to clear sidekiq queue
Public
26 Oct 12:17

  1. Open rails console
bundle exec rails c -e production
  1. Add sidekiq API
require 'sidekiq/api'
  1. List all queues
Sidekiq::Queue.all

This returns a collection of all queues so you can check the name of that interests you.

  1. Clear given queue
Sidekiq::Queue.new('given_queue_name').clear

Comments

Empty! You must sign in to add comments.