fix #3733: add 20 seconds timeout when VM backup stopped

This commit is contained in:
Moayad Almalat 2022-02-23 10:03:24 +01:00 committed by Thomas Lamprecht
parent 36d4bdcb86
commit 39abafc8e7

View File

@ -5551,7 +5551,7 @@ sub vm_start_nolock {
};
# Issues with the above 'stop' not being fully completed are extremely rare, a very low
# timeout should be more than enough here...
PVE::Systemd::wait_for_unit_removed("$vmid.scope", 5);
PVE::Systemd::wait_for_unit_removed("$vmid.scope", 20);
my $cpuunits = get_cpuunits($conf);