From a23429314639f2771f34f29ee1d8ad1319743381 Mon Sep 17 00:00:00 2001 From: Taloth Saldono Date: Mon, 16 Nov 2020 21:31:13 +0100 Subject: [PATCH] Credit where credit is due --- src/NzbDrone.Update/UpdateEngine/InstallUpdateService.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/NzbDrone.Update/UpdateEngine/InstallUpdateService.cs b/src/NzbDrone.Update/UpdateEngine/InstallUpdateService.cs index 52349c237..5eae3d815 100644 --- a/src/NzbDrone.Update/UpdateEngine/InstallUpdateService.cs +++ b/src/NzbDrone.Update/UpdateEngine/InstallUpdateService.cs @@ -157,7 +157,8 @@ namespace NzbDrone.Update.UpdateEngine _terminateNzbDrone.Terminate(processId); _logger.Info("Waiting for external auto-restart."); - for (int i = 0; i < 10; i++) + var theDakoLimit = 10; + for (int i = 0; i < theDakoLimit; i++) { System.Threading.Thread.Sleep(1000);