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
Increase rate limiting for startup bursts
rcourtmand5f59ae858c5
diff --git a/cmd/pulse-sensor-proxy/throttle.go b/cmd/pulse-sensor-proxy/throttle.goindex 11c69125a1..8d39d7316f 100644--- a/cmd/pulse-sensor-proxy/throttle.go+++ b/cmd/pulse-sensor-proxy/throttle.go@@ -50,13 +50,13 @@ type rateLimiter struct {}const (- defaultPerPeerBurst = 5 // Allow burst of 5 requests for multi-node polling+ defaultPerPeerBurst = 10 // Allow burst of 10 requests for multi-node polling with retriesdefaultPerPeerConcurrency = 2defaultGlobalConcurrency = 8)var (- defaultPerPeerRateInterval = 1 * time.Second // 1 qps (60/min) - supports 5-10 node deployments+ defaultPerPeerRateInterval = 500 * time.Millisecond // 2 qps (120/min) - supports larger deploymentsdefaultPenaltyDuration = 2 * time.SeconddefaultPerPeerLimit = rate.Every(defaultPerPeerRateInterval))