From 66205c05a4bff6fd68e7bab075acaa6a19015a04 Mon Sep 17 00:00:00 2001 From: "Juster.zhu" Date: Thu, 16 Nov 2023 22:47:10 +0800 Subject: [PATCH] Update WindowsStrategy.cs --- .../Strategys/PlatformWindows/WindowsStrategy.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/c#/GeneralUpdate.Core/Strategys/PlatformWindows/WindowsStrategy.cs b/src/c#/GeneralUpdate.Core/Strategys/PlatformWindows/WindowsStrategy.cs index a3cece2c..9f8a0c6e 100644 --- a/src/c#/GeneralUpdate.Core/Strategys/PlatformWindows/WindowsStrategy.cs +++ b/src/c#/GeneralUpdate.Core/Strategys/PlatformWindows/WindowsStrategy.cs @@ -147,7 +147,7 @@ private void WaitForProcessToStart(string applicationPath, TimeSpan timeout, Act var startTime = DateTime.UtcNow; while (DateTime.UtcNow - startTime < timeout) { - Thread.Sleep(2 * 1000); + Thread.Sleep(10 * 1000); if (!process.HasExited) { callbackAction?.Invoke(applicationPath);