Resque::Failures - Class for managing Resque failures
Accessor to the Resque object.
Name of a class consuming the role 'Resque::Failure'. By default: Resque::Failure::Redis
create() a failure on the failure_class() and save() it.
Create a new failure on the failure_class() backend.
How many failures was in all the resque system.
Return a range of failures in the same way Resque::peek() does for jobs.
Remove all failures.
Requeue by index number.
Failure will be updated to note retried date.
Remove failure by index number in failures queue.
Please note that, when you remove some index, all sucesive ones will move left, so index will decrese one. If you want to remove several ones start removing from the rightmost one.
Diego Kuperman <email@example.com>
This software is copyright (c) 2011 by Diego Kuperman.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.