proxmox-backup/proxmox-file-restore/src
Thomas Lamprecht 1f8b29f578 file restore: scale per-round delay up dynamically
Avoids latency for restore-VMs that are finished fast but not ready
yet the first round while not checking to often for slower ones, iow,
we assume that the start up distribution is looking like a chi-square
Χ² with k=3.

With 25*round we get at max 45 rounds totalling to 25.875 s delay and
1.125 max between-round delay, which still provides an ok reaction
time.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-01-26 16:12:58 +01:00
..
block_driver_qemu.rs tree-wide: drop redundant clones 2021-12-30 15:02:07 +01:00
block_driver.rs update to first proxmox crate split 2021-10-11 11:58:49 +02:00
cpio.rs split proxmox-file-restore into its own crate 2021-09-01 12:23:29 +02:00
main.rs tree-wide: fix needless borrows 2021-12-30 13:55:33 +01:00
qemu_helper.rs file restore: scale per-round delay up dynamically 2022-01-26 16:12:58 +01:00