13
0

increase system-exec timeouts for kill.

This commit is contained in:
Robin Gareus 2014-06-05 02:09:18 +02:00
parent 822c460d15
commit 3813c7afae

View File

@ -627,7 +627,7 @@ SystemExec::terminate ()
close_stdin();
if (pid) {
::usleep(50000);
::usleep(200000);
sched_yield();
wait(WNOHANG);
}
@ -638,7 +638,7 @@ SystemExec::terminate ()
if (pid) {
::kill(pid, SIGTERM);
usleep(50000);
::usleep(250000);
sched_yield();
wait(WNOHANG);
}