Skip to content

Instantly share code, notes, and snippets.

@RaphaelAudet
Created August 28, 2014 12:58
Show Gist options
  • Select an option

  • Save RaphaelAudet/5a1ab01c0bb008e46547 to your computer and use it in GitHub Desktop.

Select an option

Save RaphaelAudet/5a1ab01c0bb008e46547 to your computer and use it in GitHub Desktop.
clear sidekiq broken failed job after upgrading to sidekiq 3.1.4
redis = Redis.new(:host => 'xxxxx', :port => xxxxx, :password => 'xxxxxx', :thread_safe => true)
redis.llen("sidekiq:xxxxxxx:failed")
10.times {redis.lpop("sidekiq:xxxxxxx:failed")}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment