Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.
Go aialertsdashboarddockerdocker-monitoringgohomelabinfrastructure-monitoringkubernetesmonitoringmspproxmoxproxmox-backup-serverproxmox-mail-gatewayproxmox-veself-hostedtruenastypescriptvspherewebhooks
fix: increase PBS storage content timeout to 60s
rcourtman3fd20340d19c
diff --git a/pkg/proxmox/client.go b/pkg/proxmox/client.goindex 471ad3a367..6e5d60c284 100644--- a/pkg/proxmox/client.go+++ b/pkg/proxmox/client.go@@ -1090,14 +1090,14 @@ func (c *Client) GetContainerInterfaces(ctx context.Context, node string, vmid i// GetStorageContent returns the content of a specific storagefunc (c *Client) GetStorageContent(ctx context.Context, node, storage string) ([]StorageContent, error) {- // Storage content queries can take longer on large storages- // Create a new context with shorter timeout for storage API calls- // Storage endpoints can hang when NFS/network storage is unavailable- // Using 30s timeout as a balance between responsiveness and reliability+ // Storage content queries can take longer on large storages, especially PBS+ // with encrypted backups which can take 10-20+ seconds to enumerate.+ // Using 60s timeout to accommodate slow PBS storage backends while still+ // preventing indefinite hangs on unavailable NFS/network storage.storageCtx := ctx- if deadline, ok := ctx.Deadline(); !ok || time.Until(deadline) > 30*time.Second {+ if deadline, ok := ctx.Deadline(); !ok || time.Until(deadline) > 60*time.Second {var cancel context.CancelFunc- storageCtx, cancel = context.WithTimeout(ctx, 30*time.Second)+ storageCtx, cancel = context.WithTimeout(ctx, 60*time.Second)defer cancel()}