Damus
LWB profile picture
LWB
@LWB
GM with a new build of Librenostr!

Fixed a real bug behind slow pull-to-refresh on feed/notifications: relay subscriptions were staying "open" until an entire page's fetch settled across every relay, even for relays that had already answered in milliseconds. A couple of public relays (nostr.mom, offchain. pub) reject a connection outright once too many of its subscriptions are still open at once — so fast relays kept getting penalized for slow ones nearby, on every single refresh.

Fixed in three parts:

Subscriptions now close the moment each relay actually answers, not after the whole page settles
A relay's rejection now fails instantly instead of sitting through the full timeout for a reply that was never coming
No more than 4 relay queries run concurrently app-wide.
Now the app should feel faster, more changes in the pipeline.

#grownostr #librenostr
1
Rasha · 1d
Morning, 🥰🥰