push and pop (thanks to Redis); provide
visibility into their contents; and store jobs as simple JSON hashes.
The Resque frontend tells you what workers are doing, what workers are not doing, what q
'rw', isa => 'ArrayRef', default => sub {[]} );
coerce 'HashRef'
=> from 'Str'
=> via { JSON->new->utf8->decode($_) };
has payload => (
is => 'ro',
isa => 'HashRef',
coe
te.
When passed as a string this will be coerced using JSON decoder.
This is read-only.
=head1 METHODS
=head2 encode
String representation(JSON) to be used on the backend.
$job->encode();
=he
que structures
$Resque::Encoder::VERSION = '0.42';
use Moose::Role;
use JSON;
has encoder => ( is => 'ro', default => sub { JSON->new->utf8 } );
1;
__END__
=pod
=encoding UTF-8
=head1 NAME
Resq
for encoding Resque structures
=head1 VERSION
version 0.42
=head1 ATTRIBUTES
=head2 encoder
JSON encoder by default.
=head1 AUTHOR
Diego Kuperman <diego@freekeylabs.com>
=head1 COPYRIGHT AND
the queue where job had failed
class: the job class
error: the error string
args: a JSON representation of the job arguments
By default, all matching jobs will be deleted but the ones t
push and pop (thanks to Redis); provide
visibility into their contents; and store jobs as simple JSON hashes.
The Resque frontend tells you what workers are doing, what workers are not doing, what q