mirror of
https://github.com/logos-messaging/logos-delivery.git
synced 2026-07-22 04:29:42 +00:00
Discovery populates the peer store fast enough that the backgrounded reconnect future treats freshly discovered relay peers as if they came from persistent storage, delaying their connection by a serial ~1min backoff. Tag storage-loaded peers with a new PeerOrigin.Cache and have reconnectPeers act only on those; discovered peers are left to the connectivity loop, which dials them right away. The reconnect dials are also parallelized so a slow peer can't stall the rest. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>