many ok
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user