X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2Fcluster.pl;h=06dab32b2456a291d0b558e0b8006ec08c043704;hb=d4c958444110a264159a982ca6d7bdeb80defabb;hp=fb48c1e005b64b133f35169371347945b4361c26;hpb=2a9a56c26e1ed0622dc9cd7fc48b0498b059e274;p=spider.git diff --git a/perl/cluster.pl b/perl/cluster.pl index fb48c1e0..06dab32b 100755 --- a/perl/cluster.pl +++ b/perl/cluster.pl @@ -102,7 +102,7 @@ sub error_handler { my $dxchan = shift; $dxchan->{conn}->set_error(undef) if exists $dxchan->{conn}; - $dxchan->disconnect; + $dxchan->disconnect(1); } # handle incoming messages @@ -421,7 +421,7 @@ dbg('err', "orft we jolly well go ..."); for (;;) { # $DB::trace = 1; - Msg->event_loop(25, 0.001); + Msg->event_loop(10, 0.010); my $timenow = time; process_inqueue(); # read in lines from the input queue and despatch them # $DB::trace = 0;