Skip to content

Instantly share code, notes, and snippets.

@semmons99
Created February 23, 2015 16:07
Show Gist options
  • Save semmons99/989f08fc8c7b6ef1536e to your computer and use it in GitHub Desktop.
Save semmons99/989f08fc8c7b6ef1536e to your computer and use it in GitHub Desktop.
retry failed Resque jobs, clear failure queue
(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