A Production Python Telegram Bot Was Crashing Every 2 Hours. The Fix Was 18 Lines.
A real production cascade — TelegramRetryAfter, asyncio TimeoutError, SQLite deadlocks, 47 leaked sessions — and why the bottleneck was none of those things. With code.