]> git.proxmox.com Git - proxmox-backup.git/commit
proxy: scheduler: only do a single round of time alignment and drop counter
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 14 Jul 2022 16:20:41 +0000 (18:20 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 14 Jul 2022 16:20:44 +0000 (18:20 +0200)
commit3f6a17b09f99d5c91124dfd63f55e9f67281b0a0
tree92c8750d219f1962ece123da6bd458a7569cfb4f
parent9f7752f2b250dc39b62adfa25cdd8010e31dbc3a
proxy: scheduler: only do a single round of time alignment and drop counter

not much value in waiting an extra minute, that doesn't really
guarantees better scheduling (as in, less impact on startup).

Dropping that also allows easily to drop the counter by just moving
the sleep to the beginning of the loop.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/bin/proxmox-backup-proxy.rs