Skip to content

Instantly share code, notes, and snippets.

@wrburgess
Forked from neilmarion/sidekiq
Created July 27, 2017 17:58
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 wrburgess/858be7820b6da83fd7e28ca1b40a82eb to your computer and use it in GitHub Desktop.
Save wrburgess/858be7820b6da83fd7e28ca1b40a82eb to your computer and use it in GitHub Desktop.
sidekiq clear counter
Sidekiq.redis {|c| c.del('stat:processed') }
and to reset failed jobs:
Sidekiq.redis {|c| c.del('stat:failed') }
bundle exec sidekiq -q high,5 default
RAILS_ENV=production bundle exec sidekiq -d -L /home/deployer/apps/collector/shared/sidekiq.log -q high,5 default
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment