mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-25 06:16:37 +01:00
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:
parent
e2e0c46fe6
commit
0982e5d285
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user