Files
awoooi/apps/api
OG T d1436157b7
Some checks failed
CD Pipeline / build-and-deploy (push) Has been cancelled
fix(polling): httpx client timeout 改為分開設定,read=50s > getUpdates 40s
根因: httpx.AsyncClient(timeout=30.0) 的 read timeout 30s
     < getUpdates 的 long polling timeout 40s
     導致每次 getUpdates 都被 client 打斷 → polling loop 無法正常收訊息

修法: httpx.Timeout(connect=10s, read=50s) 讓 long polling 正常等待

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-03 18:29:22 +08:00
..