Skip to content

The agent that grows with you

docs(telegram): deadline comment names what is bounded

kshitijk4poore2a54239fc41
diff --git a/plugins/platforms/telegram/adapter.py b/plugins/platforms/telegram/adapter.py
index 62267ffadc4..37267c9d163 100644
--- a/plugins/platforms/telegram/adapter.py
+++ b/plugins/platforms/telegram/adapter.py
@@ -364,7 +364,7 @@ _INGRESS_DISPATCH_STALL_HEARTBEATS = 2
# to hear the attachment failed, so kept modest.
_MEDIA_SEND_READ_TIMEOUT = 60.0
# Text send used to hang forever on a shielded httpcore socket (NordVPN/Telegram sticky IP).
-# A wedged send froze getUpdates on the same loop. Bound every Bot API write.
+# A wedged send froze getUpdates on the same loop. Bound every text send/edit and media upload.
_TEXT_SEND_DEADLINE = 30.0
# Wall-clock cap on one media upload (whole request: pool wait + connect + body upload + server
# processing). NOT `_MEDIA_SEND_READ_TIMEOUT`: that is httpx's per-phase stall budget (time-to-first-byte