mirror of
https://github.com/runkids/skillshare.git
synced 2026-11-18 18:04:17 +00:00
The list endpoint walked every snapshot to size it, then walked all of them again for the total. With thousands of files and a cold file cache (right after an upgrade, for example) the Backup page took visibly long to open. Each snapshot folder is now walked once for both its size and file count. Backup and total sizes are sums of those, and the per-folder counts are returned as `entries` so the dashboard can show what each folder holds.