huskies: merge 858

This commit is contained in:
dave
2026-04-29 10:41:32 +00:00
parent be5db846cc
commit 11d111360d
79 changed files with 265 additions and 0 deletions
+2
View File
@@ -48,6 +48,7 @@ pub struct AgentPool {
}
impl AgentPool {
/// Create a new agent pool bound to the given HTTP port and event channel.
pub fn new(port: u16, watcher_tx: broadcast::Sender<WatcherEvent>) -> Self {
let pool = Self {
agents: Arc::new(Mutex::new(HashMap::new())),
@@ -98,6 +99,7 @@ impl AgentPool {
pool
}
/// Return the HTTP port this pool's agents connect to.
pub fn port(&self) -> u16 {
self.port
}