Created
February 23, 2015 16:07
-
-
Save semmons99/989f08fc8c7b6ef1536e to your computer and use it in GitHub Desktop.
retry failed Resque jobs, clear failure queue
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
(0...Resque::Failure.count).each { |i| Resque::Failure.requeue(i); Resque::Failure.remove(i) } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment