From 5fced70948c1e8d3d5e3c4747516507f87506697 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 --- 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 eb82a5f16..52349c237 100644 --- a/src/NzbDrone.Update/UpdateEngine/InstallUpdateService.cs +++ b/src/NzbDrone.Update/UpdateEngine/InstallUpdateService.cs @@ -157,7 +157,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);