From cd6d7703656d130b3dc278e814ada7815381d41f Mon Sep 17 00:00:00 2001 From: cfdaily Date: Tue, 26 May 2026 20:29:22 +0800 Subject: [PATCH] auto-sync: 2026-05-26 20:29:22 --- src/daemon/spawner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/daemon/spawner.py b/src/daemon/spawner.py index 08f3499..23dd4b3 100644 --- a/src/daemon/spawner.py +++ b/src/daemon/spawner.py @@ -440,7 +440,7 @@ curl -X POST http://{self.api_host}:{self.api_port}/api/projects/{project_id}/ta except Exception as e: # spawn 失败也要 release counter if self.counter: - self.counter.release(agent_id) + self.counter.release(agent_id, _sid_key) logger.exception("Failed to spawn agent %s", agent_id) self._record_attempt(task_id, agent_id, "spawn_failed", error=str(e)) raise