xiaozhi-esp32-server/main/xiaozhi-server/core
Brad Shannon 3c59c46551 fix(core): bound blocking future.result() calls so a hung dependency can't freeze the connection
Two cross-thread future.result() calls had no timeout, so a stalled
dependency blocked the thread indefinitely with no recovery:

- connection.py: a hung memory backend froze the chat thread during
  query_memory().
- tts/base.py: a stalled WebSocket send froze the audio priority thread in
  sendAudioMessage().

Add a 30s timeout and explicit TimeoutError handling at both sites. On
timeout the failure is logged and the loop proceeds (memory falls back to
None; the audio frame is skipped) instead of deadlocking. The tool-call
fan-in already uses tool_call_timeout, so it is left unchanged.
2026-06-18 11:01:04 -04:00
..
api add:测试页面增加拍照识物功能 2026-02-02 15:08:24 +08:00
handle fix: 通讯录页面时间不显示 2026-06-17 14:34:42 +08:00
providers fix(core): bound blocking future.result() calls so a hung dependency can't freeze the connection 2026-06-18 11:01:04 -04:00
utils 修复设备快速提示词缓存key错误 2026-04-28 15:52:23 +08:00
auth.py update: 2025-10-13 17:52:28 +08:00
connection.py fix(core): bound blocking future.result() calls so a hung dependency can't freeze the connection 2026-06-18 11:01:04 -04:00
http_server.py update:从vision_url配置里读取域名和端口号 2025-12-18 17:37:20 +08:00
websocket_server.py update:关于对digital-human的markdown文档的修改 2026-05-12 09:45:43 +08:00