feat(xo-server/snapshotVm): increase concurrency to 2
This commit is contained in:
parent
a83fa90d87
commit
8b9f9ffa3e
@ -1424,7 +1424,7 @@ export default class Xapi extends XapiBase {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@synchronized() // like @concurrency(1) but more efficient
|
@concurrency(2)
|
||||||
@cancelable
|
@cancelable
|
||||||
async _snapshotVm ($cancelToken, vm, nameLabel = vm.name_label) {
|
async _snapshotVm ($cancelToken, vm, nameLabel = vm.name_label) {
|
||||||
debug(
|
debug(
|
||||||
|
Loading…
Reference in New Issue
Block a user