auto-sync: 2026-05-26 20:29:45

This commit is contained in:
cfdaily
2026-05-26 20:29:45 +08:00
parent 65b0beeb10
commit fb951db382
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -8,7 +8,8 @@ daemon:
tick_interval: 30
task_timeout: 600
max_global_agents: 5
max_per_agent: 1
max_per_session: 1
max_concurrent_sessions: 3
zombie_threshold: 20
# Agent 调度(v2.6.1 新增)
max_dispatch_per_tick: 3
+2 -1
View File
@@ -129,7 +129,8 @@ async def lifespan(app: FastAPI):
# 创建 Agent 调度组件
counter = ActiveAgentCounter(
max_global=daemon_config.get("max_global_agents", 5),
max_per_agent=daemon_config.get("max_per_agent", 2),
max_per_session=daemon_config.get("max_per_session", 1),
max_concurrent_sessions=daemon_config.get("max_concurrent_sessions", 3),
default_cooldown_seconds=daemon_config.get("cooldown_seconds", 120),
)
spawner = AgentSpawner(