mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-07-15 21:52:08 +08:00
52ea16a93a
The code for calculating the size of the log file has been revised. Instead of using os.path.getsize, which simply captures the size of the file on disk, we're now calculating the size of the payload after it has been serialized and encoded, plus an overhead of 100 bytes. This change provides a more accurate measure of the data that will be sent.