feat(agent): add maxConcurrent config for parallel message handling

Adds `agent.maxConcurrent` config option to control how many agent runs
can execute in parallel across all conversations. Default remains 1
(sequential) for backwards compatibility.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Rolf FredheimandClaude Opus 4.5 authored and Peter Steinberger committed 2025-12-25 23:55:41 +01:00
1 parent 198f8ea700
commit 2295cbb815
2 files changed
+4

No files matched your search

+1
View File
@@ -1736,6 +1736,7 @@ export async function startGatewayServer(
{ controller: AbortController; sessionId: string; sessionKey: string }
>();
setCommandLaneConcurrency("cron", cfgAtStart.cron?.maxConcurrentRuns ?? 1);
setCommandLaneConcurrency("main", cfgAtStart.agent?.maxConcurrent ?? 1);
const cronStorePath = resolveCronStorePath(cfgAtStart.cron?.store);
const cronLogger = getChildLogger({