mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-08-09 20:24:14 +00:00
[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:
@@ -705,7 +705,7 @@ VOID WINAPI SvcMain(DWORD dwArgc, LPTSTR *lpszArgv)
|
|||||||
|
|
||||||
// avoid restarting too often
|
// avoid restarting too often
|
||||||
if (GetTickCount64() - launchTime < 1000)
|
if (GetTickCount64() - launchTime < 1000)
|
||||||
Sleep(1);
|
Sleep(1000);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user