]> git.proxmox.com Git - pve-guest-common.git/commit
replication config: retry first three failed times quicker before going to 30m
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 27 Apr 2022 07:59:24 +0000 (09:59 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 27 Apr 2022 07:59:26 +0000 (09:59 +0200)
commit73a3e4cb237d39de2b4a4dae146d0785ec86f529
tree17b77fef2a452fe264afd4de3734baeb21b5bcfb
parent3bf8e49a94c354f34b2f229af9c7ae67de8d9f2c
replication config: retry first three failed times quicker before going to 30m

So the repeat frequency for a stuck job is now:
t0 -> fails
t1 = t0 +  5m -> repat
t2 = t1 + 10m = t0 + 15m -> repat
t3 = t2 + 15m = t0 + 30m -> repat
t4 = t3 + 30m = t0 + 60-> repat
then
tx = tx-1 + 30m -> repat

So, we converge more naturally/stable to the 30m intervals than
before, when t3 would have been t0 + 45m.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/PVE/ReplicationState.pm