Pulse/cmd
rcourtman ca534e2b6f feat: make pulse-sensor-proxy rate limits configurable
Add support for configuring rate limits via config.yaml to allow
administrators to tune the proxy for different deployment sizes.

Changes:
- Add RateLimitConfig struct to config.go with per_peer_interval_ms and per_peer_burst
- Update newRateLimiter() to accept optional RateLimitConfig parameter
- Load rate limit config from YAML and apply overrides to defaults
- Update tests to pass nil for default behavior
- Add comprehensive config.example.yaml with documentation

Configuration examples:
- Small (1-3 nodes): 1000ms interval, burst 5 (default)
- Medium (4-10 nodes): 500ms interval, burst 10
- Large (10+ nodes): 250ms interval, burst 20

Defaults remain conservative (1 req/sec, burst 5) to support most
deployments while allowing customization for larger environments.

Related: #46b8b8d08 (rate limit fix for multi-node support)
2025-10-21 11:25:21 +00:00
..
pulse feat: add PBS/PMG stubs to test harness and implement HTTP config fetch 2025-10-20 16:05:45 +00:00
pulse-docker-agent feat: add docker agent command handling 2025-10-15 19:27:19 +00:00
pulse-sensor-proxy feat: make pulse-sensor-proxy rate limits configurable 2025-10-21 11:25:21 +00:00