feat: 将前端等待超时时间从30秒调整为5分钟
- 修改 core/server.py 中的响应超时时间 - 从 30 秒调整为 300 秒(5 分钟) - 解决长对话超时中断问题
This commit is contained in:
@ -366,7 +366,7 @@ class BackendServer:
|
|||||||
self._input_queue.put(packet)
|
self._input_queue.put(packet)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
response = resp_q.get(timeout=30.0)
|
response = resp_q.get(timeout=300.0)
|
||||||
return Packet(
|
return Packet(
|
||||||
id=response.id,
|
id=response.id,
|
||||||
type=packet.type,
|
type=packet.type,
|
||||||
|
|||||||
Reference in New Issue
Block a user