A watched game is left without a standby for minutes after each swap #64
Labels
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
cmoriarty/sports-breaker#64
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?
What happens
The card often reads "Standby: Looking for one", most noticeably right after a swap, which is when the operator is looking. A swap or a recovery takes the standby (
resolution.take_standby), and the slot stays empty until the scheduler verifies another link. That takes minutes, because:READ_CONCURRENCY1), in rounds 60 s apart (PREWARM_INTERVAL_SECONDS), each trying at most five links (WALK_LINKS_PER_READ). On 2026-10-31 reads averaged 35 s.reputation.is_sunk) doesn't catch them: it judges a host across all games, and these hosts play other games (givemestreams.cfd and resports.cfd played Lakers vs. Warriors on 2026-10-30).Seen live, 2026-10-31, Chelsea vs. Man Utd (UTC)
A standby was ready about 90% of the time from the tune to 14:22. Every gap followed a swap or a recovery that took it.
The ideas
PRIORITY_STANDBY). The standby re-check (every 150 s, against the CDN, not a site read) covers both. The followed Ready games keep one standby each, as decided on 2026-10-29.Possibly also: start the refill as soon as a swap takes the standby, rather than at the next round. It's a smaller gain; the 30 s and 1 min gaps were mostly the read itself.
Not part of this: why those hosts find no stream for this game. Either the hubs list hosts that don't carry it, or a player our reader doesn't recognise.
Decided 2026-10-31: both ideas are in the batch.
Deployed 2026-10-31 17:44 UTC (PR #67,
1938e97). Left open until a second standby is seen holding.Seen live on a test tune of Spurs vs. C Palace (17:45–17:52 UTC):
Done when a played channel's card shows "then ".
Closed on the tests at the operator's word (2026-11-01): reopen, or file a new ticket, if production shows a problem.