restore vma: add comment describing timeout

Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
This commit is contained in:
Fiona Ebner 2023-09-12 11:16:16 +02:00 committed by Thomas Lamprecht
parent 853757ccec
commit e003f28404

View File

@ -7367,7 +7367,7 @@ sub restore_vma_archive {
$add_pipe->(['vma', 'extract', '-v', '-r', $mapfifo, $readfrom, $tmpdir]);
my $oldtimeout;
my $timeout = 5;
my $timeout = 5; # for reading the VMA header - might hang with a corrupted one
my $devinfo = {}; # info about drives included in backup
my $virtdev_hash = {}; # info about allocated drives