mirror of
https://github.com/rommapp/romm.git
synced 2026-12-03 02:24:09 +01:00
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