From e14274c89d69bfdc33c8f42fabe71de7b9b8490f Mon Sep 17 00:00:00 2001 From: Thulinma Date: Wed, 18 May 2016 01:00:52 +0200 Subject: [PATCH] Made controller wait instead of sleep, to prevent timing out processes too soon. --- src/controller/controller_statistics.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controller/controller_statistics.cpp b/src/controller/controller_statistics.cpp index 1dab4802..c8a3bd23 100644 --- a/src/controller/controller_statistics.cpp +++ b/src/controller/controller_statistics.cpp @@ -176,7 +176,7 @@ void Controller::SharedMemStats(void * config){ } Controller::checkServerLimits(); /*LTS*/ } - Util::sleep(1000); + Util::wait(1000); } DEBUG_MSG(DLVL_HIGH, "Stopping stats thread"); if (Controller::killOnExit){