hive-c0re: reconcile declared agents periodically, with backoff
This commit is contained in:
parent
7468aa4cff
commit
b8c07a5492
1 changed files with 516 additions and 9 deletions
|
|
@ -342,6 +342,9 @@ async fn cmd_serve(
|
|||
// previously-running container goes away without an operator-initiated
|
||||
// transient state — a swarm-level grafana alert matches that line.
|
||||
crash_watch::spawn(coord.clone());
|
||||
// Periodic reconcile: queues a start for an agent that is declared up and
|
||||
// found down. The crash alert above keeps firing; this only converges.
|
||||
workers::reconcile_tick::spawn(coord.clone());
|
||||
// Agent-sockets marker poll: re-fires `agent_sockets::write`
|
||||
// and `gateway_nginx::write` every 10s so the JSON and nginx
|
||||
// config pick up newly-bound `.bound` markers after a rebuild.
|
||||
|
|
|
|||
Loading…
Reference in a new issue