huskies: merge 1093 bug Chat dispatcher spawns one Timmy per inbound message — needs coalesce window + per-session serial lock
This commit is contained in:
@@ -238,6 +238,12 @@ async fn main() -> Result<(), std::io::Error> {
|
||||
.map(|c| c.permission_timeout_secs)
|
||||
.unwrap_or(120),
|
||||
status: agents.status_broadcaster(),
|
||||
chat_dispatcher: std::sync::Arc::new(chat::dispatcher::ChatDispatcher::new(
|
||||
bot_cfg
|
||||
.as_ref()
|
||||
.map(|c| c.coalesce_window_ms)
|
||||
.unwrap_or(1_500),
|
||||
)),
|
||||
});
|
||||
|
||||
// Sled uplink: forward permission requests to an upstream gateway when configured.
|
||||
|
||||
Reference in New Issue
Block a user