hive-c0re: fast lane for dashboard start/stop queue ops
This commit is contained in:
parent
cac4a4d65a
commit
65895c6ebf
2 changed files with 373 additions and 77 deletions
|
|
@ -435,6 +435,15 @@ async fn cmd_serve(
|
|||
tokio::spawn(async move {
|
||||
rebuild_queue::run_worker(q_coord).await;
|
||||
});
|
||||
// Fast lane: a second serial worker for hard Start/Stop, running
|
||||
// concurrently with the build worker above so a stop/start never
|
||||
// waits behind a slow build for another container. Per-agent
|
||||
// ordering vs that agent's own build is enforced in the queue's
|
||||
// claim logic (a fast op defers behind its agent's running build).
|
||||
let fast_coord = coord.clone();
|
||||
tokio::spawn(async move {
|
||||
rebuild_queue::run_fast_worker(fast_coord).await;
|
||||
});
|
||||
}
|
||||
// Forward every broker event onto the unified dashboard
|
||||
// channel with a freshly-stamped seq, so the dashboard SSE
|
||||
|
|
|
|||
Loading…
Reference in a new issue