From 3813c7afae2b072a1b84e931e904a776b6213159 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Thu, 5 Jun 2014 02:09:18 +0200 Subject: [PATCH] increase system-exec timeouts for kill. --- libs/pbd/system_exec.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/pbd/system_exec.cc b/libs/pbd/system_exec.cc index c6d2da31d3..7e94880f85 100644 --- a/libs/pbd/system_exec.cc +++ b/libs/pbd/system_exec.cc @@ -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); }