From b229fac9b1a8f3ce25cb8646bc8c0b6514debd70 Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Tue, 3 Nov 2020 09:52:44 +1300 Subject: [PATCH] JackettTray: bump delay from 30 to 120 resolves #10086 --- src/Jackett.Tray/Main.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Jackett.Tray/Main.cs b/src/Jackett.Tray/Main.cs index b2241bf04..0e97f4883 100644 --- a/src/Jackett.Tray/Main.cs +++ b/src/Jackett.Tray/Main.cs @@ -97,18 +97,19 @@ namespace Jackett.Tray // We won't be able to start the tray app up again from the updater, as when running via a windows service // there is no interaction with the desktop. // Fire off a console process that will start the tray 30 seconds later + // changed to 120 seconds as a result of https://github.com/Jackett/Jackett/issues/10068 var trayExePath = Process.GetCurrentProcess().MainModule.FileName; var startInfo = new ProcessStartInfo() { - Arguments = $"/c timeout 30 > NUL & \"{trayExePath}\" --UpdatedVersion yes", + Arguments = $"/c timeout 120 > NUL & \"{trayExePath}\" --UpdatedVersion yes", FileName = "cmd.exe", UseShellExecute = true, CreateNoWindow = true, WindowStyle = ProcessWindowStyle.Hidden }; - logger.Info($"Starting 30 second delay tray launch as Jackett is running as a Windows service: {startInfo.FileName} {startInfo.Arguments}"); + logger.Info($"Starting 120 second delay tray launch as Jackett is running as a Windows service: {startInfo.FileName} {startInfo.Arguments}"); Process.Start(startInfo); }