-
-
Save dpaola2/349e231a043df4b8c2d2926fa06755c8 to your computer and use it in GitHub Desktop.
Sidekiq reset stats
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
To reset processed jobs: | |
Sidekiq.redis {|c| c.del('stat:processed') } | |
To reset failed jobs: | |
Sidekiq.redis {|c| c.del('stat:failed') } | |
To reset statistics: | |
Sidekiq::Stats.new.reset |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment