TGTGInsighttelegram intelligenceLIVE / telegram public index
← Telegram github commits and releases
Telegram github commits and releases avatar

TGINSIGHT POST

Post #19539

@tgappsupdates

Telegram github commits and releases

Views181Post view count
PostedMar 603/06/2026, 07:00 AM
Post content

Post content

telegramdesktop/tdesktop/dev • 61b7b2d • 1 files, +36/-24 Use rename instead of copy for log file rotation at startup Replace the expensive file copy in Logs::instanceChecked() with an atomic rename. The old code copied log_startX.txt to log.txt then deleted the original, which took ~83ms of synchronous I/O. A simple rename on the same filesystem is nearly instant (~0.3ms). #tdesktop