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 <gabor.apati-nagy@citrix.com>
This commit is contained in:
Gabor Apati-Nagy 2016-12-07 14:35:39 +00:00
parent e2e0c46fe6
commit 0982e5d285

View File

@ -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