feat: 优化支付码队列与支付超时
This commit is contained in:
@@ -1416,7 +1416,7 @@ class HuyaWssClient:
|
||||
await self.ws.send(msg.encode())
|
||||
|
||||
try:
|
||||
body = await asyncio.wait_for(future, 15.0)
|
||||
body = await asyncio.wait_for(future, 30.0)
|
||||
except TimeoutError:
|
||||
self._pending.pop(req_id, None)
|
||||
self.logger("[✗] payOrderSubmitV5 超时")
|
||||
|
||||
Reference in New Issue
Block a user