From 0ce8cacd259803f2715a7b78a48395c181f1d733 Mon Sep 17 00:00:00 2001 From: falkTX Date: Mon, 20 Oct 2014 21:51:58 +0100 Subject: [PATCH] Increate carla pipe wait period from 3secs to 10secs --- source/utils/CarlaPipeUtils.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/utils/CarlaPipeUtils.hpp b/source/utils/CarlaPipeUtils.hpp index 61d0202a4..271bd908f 100644 --- a/source/utils/CarlaPipeUtils.hpp +++ b/source/utils/CarlaPipeUtils.hpp @@ -29,9 +29,9 @@ #include #include -#define WAIT_START_TIMEOUT 3000 /* ms */ -#define WAIT_ZOMBIE_TIMEOUT 3000 /* ms */ -#define WAIT_STEP 100 /* ms */ +#define WAIT_START_TIMEOUT 10000 /* 10 secs */ +#define WAIT_ZOMBIE_TIMEOUT 10000 /* 10 secs */ +#define WAIT_STEP 100 /* 100 ms */ // ----------------------------------------------------------------------- @@ -663,7 +663,7 @@ private: carla_msleep(WAIT_STEP); /* wait 100 ms */ } - carla_stderr2("we waited for child with pid %i to exit for %.1f seconds and we are giving up", int(pid), float(WAIT_START_TIMEOUT)/1000.0f); + carla_stderr2("we waited for child with pid %i to exit for %.1f seconds and we are giving up", int(pid), float(WAIT_ZOMBIE_TIMEOUT)/1000.0f); return false; } };