Created
July 11, 2012 02:05
-
-
Save blasterpal/3087493 to your computer and use it in GitHub Desktop.
Clear all workers out of Resque
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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