xiaozhi-esp32-server/main/xiaozhi-server
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
..
config Bump to 0.9.4 2026-06-03 09:07:39 +08:00
core fix(core): bound blocking future.result() calls so a hung dependency can't freeze the connection 2026-06-18 11:01:04 -04:00
models 重新划分目录 (#214) 2025-03-05 23:13:24 +08:00
music 重新划分目录 (#214) 2025-03-05 23:13:24 +08:00
performance_tester update:解决base类修改后测速工具兼容性问题 2026-04-27 15:06:40 +08:00
plugins_func 优化相关逻辑 2026-06-03 16:13:03 +08:00
agent-base-prompt.txt update:根据数字人 emoji 开关动态渲染系统提示词 2026-05-26 11:43:18 +08:00
app.py Merge pull request #3176 from xinnan-tech/perf-tool-add-online-search 2026-05-14 10:51:23 +08:00
config.yaml perf: 2026-05-12 15:16:08 +08:00
config_from_api.yaml fix:修复全模块时缺少prompt_template配置的问题 2025-10-31 20:36:55 +08:00
docker-compose.yml fix: 设备最后连接时间返回 UTC 时间戳,修复时区显示问题 2026-05-27 17:35:10 +08:00
docker-compose_all.yml update:增加ragflow部署教程 2025-11-11 18:47:25 +08:00
mcp_server_settings.json update:服务端MCP新增支持Streamable HTTP传输协议 2025-10-29 23:14:42 +08:00
performance_tester.py update:优化测试工具目录结构 2025-08-16 10:09:36 +08:00
requirements.txt update:更新sherpa_onnx依赖至1.12.29版本 2026-03-16 11:43:07 +08:00