projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
184cd3c
)
try at a multiprocess torrus-srvderive to hopefully catch/keep up, RT#10574
author
ivan
<ivan>
Sun, 17 Apr 2011 19:13:23 +0000
(19:13 +0000)
committer
ivan
<ivan>
Sun, 17 Apr 2011 19:13:23 +0000
(19:13 +0000)
FS/bin/freeside-torrus-srvderive
patch
|
blob
|
history
diff --git
a/FS/bin/freeside-torrus-srvderive
b/FS/bin/freeside-torrus-srvderive
index
e83318f
..
3985601
100644
(file)
--- 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 {