NAME
Disque - Perl client for Disque, an in-memory, distributed job queue
SYNOPSIS
use Disque;
# Defaults disque connects to 127.0.0.1:7711
my $disque = Disque->new;
my $disque = Disque->new(servers => '127.0.0.1:7711');
# Use UNIX domain socket
my $disque = Disque->new(unixsock => '/tmp/disque.sock');
# Enable connection timeout (in seconds)
my $disque = Disque->new(sock_timeout => 10);
# Enable read timeout (in seconds)
my $disque = Disque->new(read_timeout => 0.5);
# Enable write timeout (in seconds)
my $disque = Disque->new(write_timeout => 1.2);