mirror of
git://git.proxmox.com/git/qemu-server.git
synced 2025-01-21 18:03:56 +03:00
vma restore: bump timeout for reading header
With high IO pressure, 5 seconds might not be enough, even if the request is small. Suggested-by: Thomas Lamprecht <t.lamprecht@proxmox.com> Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
This commit is contained in:
parent
4e06882ba5
commit
581b678320
@ -7546,7 +7546,7 @@ sub restore_vma_archive {
|
||||
local $SIG{PIPE} = sub { die "interrupted by signal\n"; };
|
||||
local $SIG{ALRM} = sub { die $timeout_message; };
|
||||
|
||||
$oldtimeout = alarm(5); # for reading the VMA header - might hang with a corrupted one
|
||||
$oldtimeout = alarm(60); # for reading the VMA header - might hang with a corrupted one
|
||||
$timeout_message = "got timeout reading VMA header - corrupted?\n";
|
||||
|
||||
my $parser = sub {
|
||||
|
Loading…
x
Reference in New Issue
Block a user