Files
haproxy-openmanager/backend
taylanbakircioglu 550995ec5b refactor: Remove unused pending_config_request flag from heartbeat response
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
2025-11-17 20:22:30 +03:00
..
2025-10-27 12:14:03 +03:00
2025-10-27 12:14:03 +03:00
2025-10-27 12:14:03 +03:00
2025-10-27 12:14:03 +03:00
2025-10-27 12:14:03 +03:00
2025-10-27 12:14:03 +03:00
2025-10-27 12:14:03 +03:00
2025-10-27 12:14:03 +03:00
2025-10-27 12:14:03 +03:00