Skip to content

Instantly share code, notes, and snippets.

@jfrost
Created March 24, 2015 03:30
Show Gist options
  • Save jfrost/697b61c9844557527726 to your computer and use it in GitHub Desktop.
Save jfrost/697b61c9844557527726 to your computer and use it in GitHub Desktop.
requeue 50,000 failed jobs
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