aboutsummaryrefslogtreecommitdiffstats
path: root/src/thread-prefetch.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-10-07 21:27:40 -0700
committerAdam Soltys <[email protected]>2026-10-07 21:27:40 -0700
commit654e489cb438c62c09d291cc781707323914f8f1 (patch)
tree70720196609718e2c8b651ceeb9d350948044c1f /src/thread-prefetch.js
parent6dfb59316865093eda01307ee3c95f87511cdf56 (diff)
downloadcoinosv3-654e489cb438c62c09d291cc781707323914f8f1.tar.gz
coinosv3-654e489cb438c62c09d291cc781707323914f8f1.zip
Gentler on relays: a relay that says rate-limited (CLOSED/OK/NOTICE) gets no one-shot reads for 30 s, doubling to 10 min; zap/reply tallies flush at most every 2 s in one REQ (two filters) and the live #e sub swaps at most every 10 s; quoted-note lookups batch per relay over 150 ms — scrolling a 300-follow feed went from ~21 to ~8.5 REQs per 10 s on the busiest relay, primal's "too many concurrent REQs" from 19 to 0
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01PCGjEEMD23CweKrefbTDJp
Diffstat (limited to 'src/thread-prefetch.js')
0 files changed, 0 insertions, 0 deletions