mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-10-19 13:36:48 +00:00
828c1db489
syncAll runs straight off the back of a successful login, while the app is still mounting its first screen. Kicking off a bulk background download at that exact moment is the worst possible timing even with the prefetch throttled, so hold the tiles back until requestIdleCallback says the browser has nothing better to do. Files keep their old behaviour — they are a handful of requests, not thousands.