Skip to content

Instantly share code, notes, and snippets.

@neilmarion
Last active July 27, 2017 17:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save neilmarion/c5e5ed3cad60316819c4 to your computer and use it in GitHub Desktop.
Save neilmarion/c5e5ed3cad60316819c4 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