mirror of
https://github.com/bytedance/deer-flow.git
synced 2026-11-07 19:20:34 +00:00
* fix(channels): ignore non-finite WeChat server longpoll timeouts The getupdates response's longpolling_timeout_ms was passed through float() with only TypeError/ValueError handled. A huge JSON integer raised OverflowError before the message loop and cursor write, so the same batch was re-polled forever, while Infinity/NaN were stored and turned the next request timeout into inf/nan. Apply the same positive-finite rule the channel already uses for configured timing values: catch OverflowError and reject non-finite results, keeping the previous valid timeout. Co-Authored-By: Claude Code <noreply@anthropic.com> * fix(channels): bound WeChat server long-poll hints --------- Co-authored-by: Claude Code <noreply@anthropic.com> Co-authored-by: Willem Jiang <willem.jiang@gmail.com>