fix: 飞书长连接改用 ThreadPoolExecutor 处理消息

- 用 ThreadPoolExecutor(max_workers=5) 替代单次 threading.Thread
- 支持并发处理多条消息,避免排队阻塞
- 添加消息序号日志,方便追踪消息接收和处理
- _process_message_safe 包装确保异常不会导致线程崩溃
- 如果消息确实没被 SDK 推送,日志里不会有对应的 #N 记录
This commit is contained in:
2026-04-02 16:24:58 +08:00
parent 18fb3155ba
commit d6c87683af
9 changed files with 106 additions and 89 deletions

Binary file not shown.