mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-25 14:57:20 +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:
parent
c5c43d99f3
commit
fe835b98d5
@ -705,7 +705,7 @@ VOID WINAPI SvcMain(DWORD dwArgc, LPTSTR *lpszArgv)
|
||||
|
||||
// avoid restarting too often
|
||||
if (GetTickCount64() - launchTime < 1000)
|
||||
Sleep(1);
|
||||
Sleep(1000);
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user