projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d6aa5f
)
try at a multiprocess torrus-srvderive to hopefully catch/keep up, RT#10574
author
ivan
<ivan>
Sun, 17 Apr 2011 18:24:29 +0000
(18:24 +0000)
committer
ivan
<ivan>
Sun, 17 Apr 2011 18:24:29 +0000
(18:24 +0000)
FS/bin/freeside-torrus-srvderive
patch
|
blob
|
history
diff --git
a/FS/bin/freeside-torrus-srvderive
b/FS/bin/freeside-torrus-srvderive
index
e5a05d0
..
d3ea419
100644
(file)
--- 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(1
0
*60); #5*60); #$torrus_srvderive->last_srv_date ? 5*60 : 15*60);
+ alarm(1
5
*60); #5*60); #$torrus_srvderive->last_srv_date ? 5*60 : 15*60);
$sth->execute($serviceid, $serviceid) or die $sth->errstr;
alarm(0);
};