mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
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();
|
||||
|
||||
for (;;) {
|
||||
Sleep(5);
|
||||
Sleep(5000);
|
||||
|
||||
double now = Utility::GetTime();
|
||||
double timeDiff = lastLoop - now;
|
||||
|
Loading…
x
Reference in New Issue
Block a user