mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-12-23 06:11:46 +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
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue