daemon: less gentle child unstucking
This commit is contained in:
parent
a5ff2e7725
commit
0618b81c07
|
@ -73,7 +73,7 @@
|
||||||
|
|
||||||
if (time() - $started > MAX_CHILD_RUNTIME) {
|
if (time() - $started > MAX_CHILD_RUNTIME) {
|
||||||
_debug("[MASTER] child process $pid seems to be stuck, aborting...");
|
_debug("[MASTER] child process $pid seems to be stuck, aborting...");
|
||||||
posix_kill($pid, SIGINT);
|
posix_kill($pid, SIGKILL);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue