Skip to content

Instantly share code, notes, and snippets.

@jrom
Created August 22, 2011 13:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save jrom/1162348 to your computer and use it in GitHub Desktop.
Save jrom/1162348 to your computer and use it in GitHub Desktop.
Requeue failed resque jobs
(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