mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-04 14:39:34 +08:00
_dispatch_outbound's 'except asyncio.TimeoutError: continue' is the 1s idle-poll timeout on an empty outbound queue, not a message skip: a cancelled Queue.get() pops nothing and a consume finishing despite the timeout has its result returned by wait_for. Channel send timeouts are Exception subclasses retried inside _send_with_retry (backoff 1s/2s/4s, send_max_retries attempts) and logged on give-up. Document this on the handler and lock it with focused tests (idle poll then deliver, send timeout retried in-dispatch, retries exhausted after max attempts). Co-authored-by: XZH <cto@xzh.ai>