Skip to content

Instantly share code, notes, and snippets.

@dolzenko
Created October 10, 2011 12:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dolzenko/1275249 to your computer and use it in GitHub Desktop.
Save dolzenko/1275249 to your computer and use it in GitHub Desktop.
Rescuing Resque
> Resque.info
> Resque::Failure::Redis.count
> Resque::Failure::Redis.instance_eval { all(count - 1, 1) } # => last 1 failure
> Resque::Failure::Redis.requeue(0)
> Resque::Failure::Redis.clear
> Resque::Stat.clear(:failed)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment