Files
npub1223z34hd7vtwc6qj4s7flsxkj644nlre2nthu7lrrmkumhu3xddsrx9r6w 83271da8d9 fix(mobile): retry channel-sort startup sync when relay rate-limits cold start
Applies the same startup-sync retry as PR #2995 does for
ChannelSectionsManager: on cold start the relay's per-connection quota
can be exhausted by the channel-list REQ burst, rejecting the sort
manager's history fetch and live subscription with 'rate-limited:
quota exceeded'. Both errors were swallowed with no retry, so the
custom channel order never loaded.

Retry _syncWithRelay with exponential backoff (2s base, 30s cap) until
the fetch and live subscription both succeed. A failed fetch still
never seed-publishes and the dirty flag is respected on every attempt.
Regression test mirrors the sections retry coverage.

Co-authored-by: npub1223z34hd7vtwc6qj4s7flsxkj644nlre2nthu7lrrmkumhu3xddsrx9r6w <52a228d6edf316ec6812ac3c9fc0d696ab59fc7954d77e7be31eedcddf91335b@buzz.block.builderlab.xyz>
Signed-off-by: npub1223z34hd7vtwc6qj4s7flsxkj644nlre2nthu7lrrmkumhu3xddsrx9r6w <52a228d6edf316ec6812ac3c9fc0d696ab59fc7954d77e7be31eedcddf91335b@buzz.block.builderlab.xyz>
2026-07-26 09:26:31 -07:00
..
2026-06-10 13:38:11 -07:00