Made controller wait instead of sleep, to prevent timing out processes too soon.
This commit is contained in:
parent
d04774cab5
commit
e14274c89d
1 changed files with 1 additions and 1 deletions
|
@ -176,7 +176,7 @@ void Controller::SharedMemStats(void * config){
|
||||||
}
|
}
|
||||||
Controller::checkServerLimits(); /*LTS*/
|
Controller::checkServerLimits(); /*LTS*/
|
||||||
}
|
}
|
||||||
Util::sleep(1000);
|
Util::wait(1000);
|
||||||
}
|
}
|
||||||
DEBUG_MSG(DLVL_HIGH, "Stopping stats thread");
|
DEBUG_MSG(DLVL_HIGH, "Stopping stats thread");
|
||||||
if (Controller::killOnExit){
|
if (Controller::killOnExit){
|
||||||
|
|
Loading…
Add table
Reference in a new issue