xiaozhi-esp32-server/main/xiaozhi-server/core/providers
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
..
asr fix: 停止帧发送后与原先音频时序问题 2026-04-22 15:55:28 +08:00
intent Merge branch 'py_test_typing' into feature/python-typing 2026-02-05 17:14:47 +08:00
llm fix: 修复频繁打断下生成器不会清理 2026-04-22 11:24:43 +08:00
memory delete log 2026-05-01 16:03:02 +08:00
tools perf: 2026-05-12 15:16:08 +08:00
tts fix(core): bound blocking future.result() calls so a hung dependency can't freeze the connection 2026-06-18 11:01:04 -04:00
vad refactor: vad独立时间戳,相关残余状态处理 2026-04-09 17:15:35 +08:00
vllm fix: 修正VLLM本地调用,question参数为空会用英文回复的问题 2025-07-07 09:02:59 +08:00