Skip to content

Commit 07948c0

Browse files
committed
Increase ApproveTestSign timeout to 3 minutes
When installing QWT via qvm-create-windows-qube, the installation may start while there is sill an Windows installer (OOB?) splash screen that prevents interacting with any window. In unlucky situation (which happens always on Windows 11...) the whole 30s timeout expires before it's possible to interact with the window. Increase the timeout to (attempt to) fix this issue.
1 parent cc952f7 commit 07948c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/install-helper/install-helper.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ int WinMain(_In_ HINSTANCE hInstance, _In_opt_ HINSTANCE hPrevInstance, _In_ LPS
170170
{
171171
(void)AddSymlinkRightToUsers();
172172
HANDLE thread = CreateThread(NULL, 0, ApproveTestSign, NULL, 0, NULL);
173-
if (WaitForSingleObject(thread, 30000) == WAIT_TIMEOUT)
173+
if (WaitForSingleObject(thread, 1800000) == WAIT_TIMEOUT)
174174
TerminateThread(thread, 0);
175175
return (int)StopXenbusMonitor();
176176
}

0 commit comments

Comments
 (0)