From 2fbbeda562e7489749a039ec3db192957edf0d40 Mon Sep 17 00:00:00 2001 From: Taloth Saldono Date: Mon, 16 Nov 2020 21:24:55 +0100 Subject: [PATCH] Give systemd a bit more time to restart sonarr after update (cherry picked from commit 5fced70948c1e8d3d5e3c4747516507f87506697) --- src/NzbDrone.Update/UpdateEngine/InstallUpdateService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NzbDrone.Update/UpdateEngine/InstallUpdateService.cs b/src/NzbDrone.Update/UpdateEngine/InstallUpdateService.cs index 84e939d14..079169b86 100644 --- a/src/NzbDrone.Update/UpdateEngine/InstallUpdateService.cs +++ b/src/NzbDrone.Update/UpdateEngine/InstallUpdateService.cs @@ -143,7 +143,7 @@ namespace NzbDrone.Update.UpdateEngine _terminateNzbDrone.Terminate(processId); _logger.Info("Waiting for external auto-restart."); - for (int i = 0; i < 5; i++) + for (int i = 0; i < 10; i++) { System.Threading.Thread.Sleep(1000);