Commit f733b087 by 杨林龙

修改进程数量

1 parent 5a8f65ad
...@@ -279,6 +279,8 @@ async def websocket_endpoint(ws: WebSocket, client_id: str): ...@@ -279,6 +279,8 @@ async def websocket_endpoint(ws: WebSocket, client_id: str):
# await ws.send_text("<rdfast stop>") # 自定义结束符 # await ws.send_text("<rdfast stop>") # 自定义结束符
except WebSocketDisconnect: except WebSocketDisconnect:
print(f"{client_id}:连接已断开") print(f"{client_id}:连接已断开")
except WebSocketDisconnect:
print(f"{client_id}:连接已断开")
async def websocket_endpoint_01(ws: WebSocket, client_id: str): async def websocket_endpoint_01(ws: WebSocket, client_id: str):
await ws.accept() await ws.accept()
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!