mirror of
https://github.com/taylanbakircioglu/haproxy-openmanager.git
synced 2026-09-21 10:03:29 +00:00
550995ec5b
CLEANUP: Remove pending_config_request logic from heartbeat BACKGROUND: This flag was added to heartbeat response to help agents detect pending configuration requests immediately, without waiting for the next polling cycle. REASON FOR REMOVAL: - Agent scripts already check for pending config requests every 30 seconds - Adding this flag to heartbeat response is redundant - Creates unnecessary database queries on every heartbeat - No performance benefit in practice HEARTBEAT RESPONSE SIMPLIFIED: - Removed pending_config_request field - Kept only status, message, and agent_id - Simpler API contract - Reduced database load BENEFITS: - Simpler heartbeat API - Fewer database queries (performance improvement) - Agent polling mechanism already works well - No change in agent behavior (agents don't use this flag) PRODUCTION IMPACT: - No breaking changes - Agents continue working normally - Configuration updates still work via polling - Reduced database load