mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-04-30 15:48:06 +00:00
use long timeouts for snapshot monitor command
Internal snapshots should be fast, but there is not guarantee.
This commit is contained in:
parent
18bfb361a0
commit
9d6890772d
@ -75,6 +75,11 @@ sub cmd {
|
||||
$timeout = 60*60; # 1 hour
|
||||
} elsif ($cmd->{execute} =~ m/^(eject|change)/) {
|
||||
$timeout = 60; # note: cdrom mount command is slow
|
||||
} elsif ($cmd->{execute} eq 'snapshot-start' ||
|
||||
$cmd->{execute} eq 'snapshot-end' ||
|
||||
$cmd->{execute} eq 'delete-drive-snapshot' ||
|
||||
$cmd->{execute} eq 'snapshot-drive' ) {
|
||||
$timeout = 10*60; # 10 mins ?
|
||||
} else {
|
||||
$timeout = 3; # default
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user