notedeck

One damus client to rule them all
git clone git://jb55.com/notedeck
Log | Files | Refs | README | LICENSE

commit a036e02fc5fa90ad30140be20dac0f48c4301ba0
parent f0162ea5587951ecb9f3d344d438620c2e036f63
Author: William Casarin <jb55@jb55.com>
Date:   Wed, 25 Feb 2026 11:04:02 -0800

dave: bump negentropy sync rounds from 5 to 20

strfry caps negentropy responses at ~240 IDs per round, so 5 rounds
only syncs ~1200 events. Increase to 20 rounds to handle larger
session histories (~4800 events).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

Diffstat:
Mcrates/notedeck_dave/src/lib.rs | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/crates/notedeck_dave/src/lib.rs b/crates/notedeck_dave/src/lib.rs @@ -70,8 +70,8 @@ const DEFAULT_PNS_RELAY: &str = "ws://relay.jb55.com/"; /// Maximum consecutive negentropy sync rounds before stopping. /// Each round pulls up to the relay's limit (typically 500 events), -/// so 5 rounds fetches up to ~2500 recent events. -const MAX_NEG_SYNC_ROUNDS: u8 = 5; +/// so 20 rounds fetches up to ~10000 recent events. +const MAX_NEG_SYNC_ROUNDS: u8 = 20; /// Normalize a relay URL to always have a trailing slash. fn normalize_relay_url(url: String) -> String {