public
Created

Rescuing Resque

  • Download Gist
1.rb
Ruby
1 2 3 4 5 6 7 8 9 10 11
> 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)

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.