Skip to content

v1.38.1 — Retry transient Telegram API timeouts

Latest

Choose a tag to compare

@amayer1983 amayer1983 released this 30 Jun 04:31

Fixed

  • Transient Telegram API timeouts silently dropped notifications (#2, @NotRetarded). Right after a self-update restart the network can still be settling; a single urlopen timed out on the Telegram API meant the notification was lost (while Discord/webhook, a moment later, got through). api_call now retries transient network failures up to 3× with short backoff (2s, 4s). The long-poll (getUpdates) is exempt, and HTTP 4xx bodies are still returned unretried. Trade-off: a read-timeout after Telegram already accepted a send could produce a duplicate — preferable to a dropped notification.

Full 20-script regression sweep green.