From 5e1b197702efd49d1a51171a593fd291a6b4a656 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 da0ce63d2..3ae5af9bf 100644 --- a/src/NzbDrone.Update/UpdateEngine/InstallUpdateService.cs +++ b/src/NzbDrone.Update/UpdateEngine/InstallUpdateService.cs @@ -152,7 +152,7 @@ public void Start(string installationFolder, int processId) _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);