]> git.proxmox.com Git - proxmox-backup.git/commit - src/bin/proxmox-backup-proxy.rs
proxmox-backup-proxy: use only jobstate for garbage_collection schedule
authorDominik Csapak <d.csapak@proxmox.com>
Mon, 2 Nov 2020 11:34:39 +0000 (12:34 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 2 Nov 2020 20:08:38 +0000 (21:08 +0100)
commitb6ba5acd29fe94287c44c6f960f4b8191fb5f2be
tree272baed73a203d9c82c7da57dab4a2dfa4e0c8da
parent4fdf5ddf5bb74968a32332b41a69b62df1be9624
proxmox-backup-proxy: use only jobstate for garbage_collection schedule

in case the garbage_collection errors out, we never set the in-memory
state, so if it failed, the last 'good' starttime was considered
for the schedule

this could lead to the job running every minute instead of the
correct schedule

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
src/bin/proxmox-backup-proxy.rs