From: ivan Date: Sun, 17 Apr 2011 18:24:29 +0000 (+0000) Subject: try at a multiprocess torrus-srvderive to hopefully catch/keep up, RT#10574 X-Git-Tag: freeside_2_3_0~364 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=c74fcbdbf96bdfa2eb2f34f843e4dc4fbc163245;p=freeside.git try at a multiprocess torrus-srvderive to hopefully catch/keep up, RT#10574 --- diff --git a/FS/bin/freeside-torrus-srvderive b/FS/bin/freeside-torrus-srvderive index e5a05d078..d3ea419a8 100644 --- a/FS/bin/freeside-torrus-srvderive +++ b/FS/bin/freeside-torrus-srvderive @@ -74,7 +74,7 @@ while (1) { &reap_kids; if ( $kids >= $max_kids ) { - sleep 10; + sleep 5; redo; } @@ -144,7 +144,7 @@ while (1) { eval { my $h = set_sig_handler( 'ALRM', sub { die "_timeout\n"; } ); - alarm(10*60); #5*60); #$torrus_srvderive->last_srv_date ? 5*60 : 15*60); + alarm(15*60); #5*60); #$torrus_srvderive->last_srv_date ? 5*60 : 15*60); $sth->execute($serviceid, $serviceid) or die $sth->errstr; alarm(0); };