Created
August 22, 2011 13:15
-
-
Save jrom/1162348 to your computer and use it in GitHub Desktop.
Requeue failed resque jobs
This file contains hidden or 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::Failure.count-1).downto(0).each { |i| Resque::Failure.requeue(i) } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment