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){