We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91d9e89 commit 267b540Copy full SHA for 267b540
lightllm/server/api_server.py
@@ -319,7 +319,7 @@ async def register_and_keep_alive(websocket: WebSocket):
319
while True:
320
try:
321
# 等待接收消息,设置超时为10秒
322
- data = await asyncio.wait_for(websocket.receive_text(), timeout=10)
+ data = await asyncio.wait_for(websocket.receive_text(), timeout=30)
323
json_data = json.loads(data)
324
if json_data.get("type") != "heartbeat":
325
logger.warning(f"recive error messesage {json_data}")
0 commit comments