]> git.proxmox.com Git - proxmox-backup.git/commit
RRD_CACHE: use a OnceCell instead of lazy_static
authorDietmar Maurer <dietmar@proxmox.com>
Wed, 13 Oct 2021 08:24:39 +0000 (10:24 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 13 Oct 2021 11:36:02 +0000 (13:36 +0200)
commitfa49d0fde9cb67624782fb492f804f83bef6eadd
treee20eb6aece14a73fd06346319beb26411da8266a
parent1d44f175c6d3b44977a65daaa4047b9fc4284aa0
RRD_CACHE: use a OnceCell instead of lazy_static

And initialize only with proxmox-backup-proxy. Other binaries dont need it.

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/api2/node/rrd.rs
src/api2/status.rs
src/bin/proxmox-backup-api.rs
src/bin/proxmox-backup-proxy.rs
src/lib.rs