Skip to content

Instantly share code, notes, and snippets.

@unkleara
unkleara / Sidekiq Reset
Last active January 6, 2021 18:51
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
@fnando
fnando / gist:2420869
Created April 19, 2012 13:10
My JavaScript Guidelines