diff options
| author | franck cuny <franck@lumberjaph.net> | 2010-04-14 18:12:26 +0200 |
|---|---|---|
| committer | franck cuny <franck@lumberjaph.net> | 2010-04-14 18:12:26 +0200 |
| commit | 4410f055dde7e77492e6a1beeaf00d20ec6b6986 (patch) | |
| tree | ba75a16b8962909469fa7300ec7d24d86eb9d545 /lib/presque.pm | |
| parent | return a json object (diff) | |
| download | presque-4410f055dde7e77492e6a1beeaf00d20ec6b6986.tar.gz | |
cleanup
Diffstat (limited to 'lib/presque.pm')
| -rw-r--r-- | lib/presque.pm | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/presque.pm b/lib/presque.pm index 370ea3a..9d88ca7 100644 --- a/lib/presque.pm +++ b/lib/presque.pm @@ -25,11 +25,10 @@ has redis => ( lazy => 1, default => sub { my $self = shift; - my $r = AnyEvent::Redis->new( + AnyEvent::Redis->new( host => $self->config->{redis}->{host}, port => $self->config->{redis}->{port} ); - $r; } ); @@ -89,6 +88,10 @@ all the queues. return some basic information about a queue. +=item B<GET /control/queuename> + +=item B<POST /control/queuename> + =back =head2 INSERT A JOB |
