From Dev.to
Killing duplicate Telegram posts with idempotent sends and rate limits
Our channel bot used to publish the same announcement twice, sometimes three times. Not because the code was clever — because it was naive: a retry after a timeout, a restart halfway through a broadca...
