fix(xapi): merge vdiDestroyRetryWhenInUse after defaults

This commit is contained in:
Julien Fontanet
2021-03-15 13:22:24 +01:00
parent 2fbfc97cca
commit 1c0ffe39f7

View File

@@ -39,9 +39,9 @@ class Xapi extends Base {
this._ignoreNobakVdis = ignoreNobakVdis
this._maxUncoalescedVdis = maxUncoalescedVdis
this._vdiDestroyRetryWhenInUse = {
...vdiDestroyRetryWhenInUse,
delay: 5e3,
retries: 10,
...vdiDestroyRetryWhenInUse,
}
const genericWatchers = (this._genericWatchers = new Set())