]> granicus.if.org Git - icinga2/commitdiff
Sleep for 5 seconds rather than 5 milliseconds.
authorGunnar Beutner <gunnar.beutner@netways.de>
Tue, 25 Sep 2012 13:35:46 +0000 (15:35 +0200)
committerGunnar Beutner <gunnar.beutner@netways.de>
Tue, 25 Sep 2012 13:35:46 +0000 (15:35 +0200)
lib/base/application.cpp

index 21234c580373d89d287586d6c8d13f1cdf90f291..51458dda37d87da388dc8dc51a307adf8f00c0b6 100644 (file)
@@ -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;