add test
This commit is contained in:
parent
28fc9e0e65
commit
4d122b554f
|
|
@ -30,7 +30,6 @@ async def websocket_endpoint(
|
|||
await asyncio.wait_for(websocket.receive_text(), 3)
|
||||
await manager.send_json(message, websocket)
|
||||
except asyncio.TimeoutError:
|
||||
print("推送数据......", message)
|
||||
await manager.send_json(message, websocket)
|
||||
except (WebSocketDisconnect, RuntimeError):
|
||||
logger.info("ws开始关闭连接.....")
|
||||
|
|
|
|||
Loading…
Reference in New Issue