summaryrefslogtreecommitdiff
path: root/FS/bin
diff options
context:
space:
mode:
authorivan <ivan>2011-04-17 19:13:23 +0000
committerivan <ivan>2011-04-17 19:13:23 +0000
commit12887c5dd3c09059837a82c4f95d6c0ab0632c66 (patch)
treeefbfae4b91182feb08cac96b2ae4b346cb1f528b /FS/bin
parent184cd3c86cccf8cb4710c25a871018361960906f (diff)
try at a multiprocess torrus-srvderive to hopefully catch/keep up, RT#10574
Diffstat (limited to 'FS/bin')
-rw-r--r--FS/bin/freeside-torrus-srvderive3
1 files changed, 2 insertions, 1 deletions
diff --git a/FS/bin/freeside-torrus-srvderive b/FS/bin/freeside-torrus-srvderive
index e83318fe8..3985601c0 100644
--- a/FS/bin/freeside-torrus-srvderive
+++ b/FS/bin/freeside-torrus-srvderive
@@ -75,6 +75,7 @@ while (1) {
&reap_kids;
if ( $kids >= $max_kids ) {
sleep 5;
+ myexit() if sigterm() || sigint();
redo;
}
@@ -240,7 +241,7 @@ while (1) {
myexit() if sigterm() || sigint();
warn "restarting main loop\n" if $DEBUG > 1;
- sleep 60 unless $found;
+ #sleep 60 unless $found;
}
sub _shouldrun {