]> git.proxmox.com Git - proxmox-backup.git/commit
file restore: always wait up to 25s
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 26 Jan 2022 15:04:41 +0000 (16:04 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 26 Jan 2022 15:04:43 +0000 (16:04 +0100)
commit48ce3d00a4c83bd6e732f4adf53f04177a86dc31
tree79fb7af082b58c6386e3df6416fc3341ab9fdb5d
parentd91a0f9fc90aecabc4f359d968f716a14562ce78
file restore: always wait up to 25s

the timeout for connecting may be much shorter if we get a response
(which doesn't needs to be Ok, e.g., "Connection refused"), so
instead of trying a fixed amount of 60 times lets try for 25s
independent of how often that will be then.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
proxmox-file-restore/src/qemu_helper.rs