mirror of https://github.com/Icinga/icinga2.git
Sleep for 5 seconds rather than 5 milliseconds.
This commit is contained in:
parent
f8aa5f67a2
commit
e1fc41e735
|
@ -138,7 +138,7 @@ void Application::TimeWatchThreadProc(void)
|
||||||
double lastLoop = Utility::GetTime();
|
double lastLoop = Utility::GetTime();
|
||||||
|
|
||||||
for (;;) {
|
for (;;) {
|
||||||
Sleep(5);
|
Sleep(5000);
|
||||||
|
|
||||||
double now = Utility::GetTime();
|
double now = Utility::GetTime();
|
||||||
double timeDiff = lastLoop - now;
|
double timeDiff = lastLoop - now;
|
||||||
|
|
Loading…
Reference in New Issue