This commit is contained in:
Cai
2025-10-20 16:03:19 +08:00
parent e24aa12e85
commit 5f8f6c941d
9 changed files with 4334 additions and 91 deletions

View File

@@ -93,7 +93,6 @@ class ASEngineClient:
@self.sio.on(route, namespace=self.namespace)
def on_route_message(data, _route=route):
if not self.connected: return
print(f"Received message on route '{_route}': {data}")
route_info = self.routes.get(_route)
if not route_info:
return

View File

@@ -224,6 +224,7 @@ class ChatManager:
return record
def stop(self, key: str, grace_seconds: int = 5) -> bool:
return True # code-like 不需要杀进程
with self._lock:
rec = self._procs.pop(key, None)