From 0982e5d2851944357587204d442211d69081f763 Mon Sep 17 00:00:00 2001 From: Gabor Apati-Nagy Date: Wed, 7 Dec 2016 14:35:39 +0000 Subject: [PATCH] CA-234638: XenCenter does not retry downloading: Workaround for temporary download problems Sleep after an error has been seen Signed-off-by: Gabor Apati-Nagy --- XenModel/Actions/Updates/DownloadAndUnzipXenServerPatchAction.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/XenModel/Actions/Updates/DownloadAndUnzipXenServerPatchAction.cs b/XenModel/Actions/Updates/DownloadAndUnzipXenServerPatchAction.cs index ebfcb976d..e3a24d72e 100644 --- a/XenModel/Actions/Updates/DownloadAndUnzipXenServerPatchAction.cs +++ b/XenModel/Actions/Updates/DownloadAndUnzipXenServerPatchAction.cs @@ -124,6 +124,7 @@ namespace XenAdmin.Actions // wait for some randomly increased amount of time after each retry nextSleepMs += random.Next(5000); + Thread.Sleep(nextSleepMs); } } finally