Browse files

indefinite timeout

  • Loading branch information...
1 parent af7a79f commit 167e826804c5532e24b292c318015131ac8d49f3 Gatlin C Johnson committed Dec 15, 2012
Showing with 1 addition and 3 deletions.
  1. +1 −3 pass
View
4 pass
@@ -3,11 +3,9 @@
use v5.16;
use strict;
use warnings;
-use EV;
use AnyEvent;
use AnyEvent::Redis;
use YAML qw(Load Dump LoadFile);
-use Data::UUID;
use Data::Dump qw(pp);
my %pid_of; my %dispatch;
@@ -62,7 +60,7 @@ sub handle {
}
while (1) {
- my $cv = $redis->brpop('command',1000);
+ my $cv = $redis->brpop('command',0);
my $res; eval {
$res = $cv->recv;
handle($res);

0 comments on commit 167e826

Please sign in to comment.