mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-11-28 16:58:31 +01:00
Three targeted memory and resource-hygiene fixes on Proxmox VE + PBS paths: 1. internal/unifiedresources: aggregate pbsGuestBackupsOf by (instance, datastore, guest) with a snapshot count instead of storing one pbsGuestBackup entry per PBS snapshot, cutting registry memory and rollup scan cost by ~100x on multi-thousand-snapshot estates while preserving exact TopConsumers counts. 2. internal/monitoring: add a per-instance in-flight guard to pollStorageAsync so slow NFS/PBS storage endpoints cannot stack overlapping 60s background storage polls on every poll tick. 3. pkg/proxmox + internal/monitoring: export Client.CloseIdleConnections and defer it on throwaway proxmox.NewClient callers in storage fallback and runtime cluster detection. Contract-Neutral: issue-1803 internal PBS consumer rollup aggregation, PVE storage in-flight guard, and throwaway proxmox client idle connection cleanup with no public-contract delta