Made controller wait instead of sleep, to prevent timing out processes too soon.

This commit is contained in:
Thulinma 2016-05-18 01:00:52 +02:00
parent d04774cab5
commit e14274c89d

View file

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