Created
April 24, 2020 15:37
-
-
Save mdesantis/8d917587b0ca40bcc3e7a1d320e5b511 to your computer and use it in GitHub Desktop.
Sidekiq reset one-liner
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'sidekiq/api'; [Sidekiq::RetrySet.new, Sidekiq::ScheduledSet.new, Sidekiq::DeadSet.new, Sidekiq::Stats.new.queues].each(&:clear); Sidekiq::Stats.new.reset |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment