mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-27 04:49:47 +01:00
audio_to_data 跑在默认 ThreadPoolExecutor 多线程,多客户端并发进出 override 时 old_path 互相覆盖,finally 恢复后 bin 前缀永久残留。 加 threading.Lock 锁住 PATH 修改,ref_count 仅在第一个进入时记 下原始 PATH 改写,最后一个退出时恢复。env=0 时跳过。 |
||
|---|---|---|
| .. | ||
| api | ||
| handle | ||
| providers | ||
| utils | ||
| auth.py | ||
| connection.py | ||
| http_server.py | ||
| websocket_server.py | ||