From c74fcbdbf96bdfa2eb2f34f843e4dc4fbc163245 Mon Sep 17 00:00:00 2001 From: ivan Date: Sun, 17 Apr 2011 18:24:29 +0000 Subject: [PATCH] try at a multiprocess torrus-srvderive to hopefully catch/keep up, RT#10574 --- FS/bin/freeside-torrus-srvderive | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); }; -- 2.20.1