Skip to content

Instantly share code, notes, and snippets.

@vlaube
Forked from unkleara/Sidekiq Reset
Created September 22, 2016 19:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vlaube/716171fd91f4050891ff4c8558e9d919 to your computer and use it in GitHub Desktop.
Save vlaube/716171fd91f4050891ff4c8558e9d919 to your computer and use it in GitHub Desktop.
Sidekiq reset stats
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