mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
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>