Sidekiq flush db


Sometimes you need to flush Sidekiq Jobs and clear queues, you can do it directly from Redis, or run simple command from Ruby console.

Clearing Sidekiq jobs

[1] pry(main)> Sidekiq.redis { |conn| conn.flushdb }
=> "OK"

After that, all data about current running tasks and history will be cleared.