fix(telegram): isolate long polling transport

This commit is contained in:
xmanrui 2026-08-31 03:31:07 +08:00
parent 02ddea0054
commit 14519060f0
13 changed files with 603 additions and 181 deletions

View file

@ -6,6 +6,11 @@ This file records the notable changes in each dsh-im release. Its format follows
## [Unreleased]
### Fixed / 修复
- Telegram 机器人现在为长轮询和发送请求使用同一 Runtime 私有、代理感知的有限连接池,避免全局 HTTP 连接受限时 `getUpdates` 阻塞消息发送;停止或启动失败时会显式释放连接池。
Telegram bots now use a private, proxy-aware bounded connection pool per Runtime for both long polling and sends, preventing `getUpdates` from blocking delivery when global HTTP connections are constrained; the pool is explicitly released on stop and failed startup.
## [4.2.0] - 2026-08-31
### Added / 新增