Skip to content

Instantly share code, notes, and snippets.

@blasterpal
Created July 11, 2012 02:05
Show Gist options
  • Save blasterpal/3087493 to your computer and use it in GitHub Desktop.
Save blasterpal/3087493 to your computer and use it in GitHub Desktop.
Clear all workers out of Resque
Resque.redis.smembers('workers').each {|k| Resque.redis.srem 'workers', k.to_s }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment