fix(vhd-lib/merge): reduce concurrency to protect slower backends (#6400)
This commit is contained in:
parent
ea4a888c5e
commit
62591e1f6f
@ -123,7 +123,7 @@ module.exports.mergeVhdChain = limitConcurrency(2)(async function mergeVhdChain(
|
||||
childIsVhdDirectory = childVhd instanceof VhdDirectory
|
||||
}
|
||||
|
||||
const concurrency = parentIsVhdDirectory && childIsVhdDirectory ? 16 : 1
|
||||
const concurrency = parentIsVhdDirectory && childIsVhdDirectory ? 2 : 1
|
||||
if (mergeState === undefined) {
|
||||
// merge should be along a vhd chain
|
||||
assert.strictEqual(UUID.stringify(childVhd.header.parentUuid), UUID.stringify(parentVhd.footer.uuid))
|
||||
|
Loading…
Reference in New Issue
Block a user