A hidden tab throttles ride timers #132
Labels
No labels
accessibility
area:accounts
area:ai-evals
area:look
area:maps
area:platform
area:rides-progress
area:riding
area:today-plan-coach
area:ui-shell
bot:blocked
bot:failed
bot:pr
bot:waiting
bot:working
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
later
now
owner-check
parked
question
ready
session
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
ckreidl/trainer#132
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
(session 31) A hidden tab throttles timers (Chrome: once a minute after 5 minutes); the clock catches up, but the seconds it missed have no readings. Keep the ride tab in front, or move the clock to a worker if this bites.
Moved from docs/PROGRESS.md → Follow-ups → Later on 2026-11-08.
What this is about. Browsers slow down timers in background tabs. Chrome fires them only once a minute after 5 minutes hidden. If the ride screen's tab isn't in front, its clock catches up when you come back, but the seconds in between have no trainer readings and the ERG target isn't updated.
Status (checked 2026-11-08): unchanged; the clock runs on the page, not in a worker.
Workaround: keep the ride tab in front. Fix if it bites: run the clock in a Web Worker. Note whether it has happened on a real ride.