[pbs-devel] [PATCH proxmox-backup 0/2] proxy: scheduling cleanup

Hannes Laimer h.laimer at proxmox.com
Thu Oct 29 11:37:47 CET 2020


Logic for gc and logrotate was not moved, could (should?) also be moved later.

 * moved logic for prune out of proxy
 * extract commonly used logic for scheduling into new function


Hannes Laimer (2):
  proxy: move prune logic into new file
  proxy: extract commonly used logic for scheduling into new function

 src/bin/proxmox-backup-proxy.rs | 245 ++++++++------------------------
 src/server.rs                   |   3 +
 src/server/prune_job.rs         |  91 ++++++++++++
 3 files changed, 151 insertions(+), 188 deletions(-)
 create mode 100644 src/server/prune_job.rs

-- 
2.20.1






More information about the pbs-devel mailing list