|
Entropic 2.3.8
Local-first agentic inference engine
|
Monitors external MCP server health and triggers reconnection. More...
#include <entropic/mcp/external_client.h>#include <entropic/mcp/reconnect_policy.h>#include <atomic>#include <chrono>#include <condition_variable>#include <functional>#include <map>#include <mutex>#include <string>#include <thread>#include <vector>

Go to the source code of this file.
Classes | |
| struct | entropic::HealthEvent |
| Status change event posted by the monitor thread. More... | |
| class | entropic::HealthMonitor |
| Monitors external server connections and handles reconnection. More... | |
Namespaces | |
| namespace | entropic |
| Activate model on GPU (WARM → ACTIVE). | |
Monitors external MCP server health and triggers reconnection.
Runs a background thread that detects connection loss, schedules reconnection with exponential backoff, optionally pings for health, and refreshes tool lists after successful reconnection.
Thread model: status changes are posted to a thread-safe event queue. The engine's main thread drains via process_events(). No cross-thread mutation of engine state.
Definition in file health_monitor.h.