-
-
Save vlaube/716171fd91f4050891ff4c8558e9d919 to your computer and use it in GitHub Desktop.
Sidekiq reset stats
This file contains 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