X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2Fcluster.pl;h=06dab32b2456a291d0b558e0b8006ec08c043704;hb=efefa52cf2a2f34cf57fb202b558880e167a28a4;hp=181e3054c77d83611a97ba20d9aea4736ae5ef47;hpb=17ad5480c740a4949f94e357139703c728a167d4;p=spider.git diff --git a/perl/cluster.pl b/perl/cluster.pl index 181e3054..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(10, 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;