[host] windows: sleep for 1 second instead of 1 millisecond
This is definitely supposed to sleep for 1 second. 1 ms is basically no throttling.
This commit is contained in:
1 parent
c5c43d99f3
commit
fe835b98d5
1 file changed
+1
-1
@@ -705,7 +705,7 @@ VOID WINAPI SvcMain(DWORD dwArgc, LPTSTR *lpszArgv)
|
||||
|
||||
// avoid restarting too often
|
||||
if (GetTickCount64() - launchTime < 1000)
|
||||
Sleep(1);
|
||||
Sleep(1000);
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user