Created
March 24, 2015 03:30
-
-
Save jfrost/697b61c9844557527726 to your computer and use it in GitHub Desktop.
requeue 50,000 failed jobs
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
50_000.downto(0) { |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