Files
romm/frontend
zurdi dfa8eb8d61 fix(player): stop retrying the save every second while the server is down
The sync tick re-offers a failed upload on every pass, so an outage turned into
a failing request a second for as long as it lasted.

While the connection layer knows the server is down, a write now holds its
bytes and frame and makes no request at all; the next tick after the
connection comes back hands them over. A failure from a server that did answer
(a refusal, or a 5xx before the outage is noticed, or the v1 shell, which runs
no connection probe) spaces the retries out from 2s to 30s instead, and that
wait starts over once an upload lands or the connection returns.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QTsTgdoBinvvxzXeLUjBmV
2026-09-18 04:12:58 +02:00
..
2026-05-30 20:53:52 -04:00
2026-07-26 14:14:07 -04:00