On 8/21/23 15:44, Lukas Wagner wrote:
+my $status_cache = PVE::RS::Cache->pvestatd_cache();
Urgh, just noticed that I seemingly have forgotten to commit a
refactoring step in `pve-storage`.
Should be `Proxmox::RS::SharedCache->new("/run/pvestatd-cache")`
Everything else should be the
Cache storage plugin status so that pvestatd and API calls can use the
cached results, without having to query all storage plugins again.
Signed-off-by: Lukas Wagner
---
src/PVE/API2/Storage/Config.pm | 10 +
src/PVE/Storage.pm | 40 --
2 files