aboutsummaryrefslogtreecommitdiffstats
path: root/tools/live-ingest-test.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-12-03 21:57:06 -0700
committerAdam Soltys <[email protected]>2026-12-03 21:57:06 -0700
commitd18cf2b2db74a9eb8b2a62708e8158428bb90a15 (patch)
tree929d8f5f7062180494273f01fa1a0722e337e330 /tools/live-ingest-test.js
parent42e866f1041801a9d8c3e9ca6527383d27778500 (diff)
downloadcoinosv3-server-d18cf2b2db74a9eb8b2a62708e8158428bb90a15.tar.gz
coinosv3-server-d18cf2b2db74a9eb8b2a62708e8158428bb90a15.zip
feed: every relay ask ends at its maxWait, and crawlers wait up to 7.5 s.
Measured after a restart: a link-preview crawler still got the plain page after 6 s, because nostr-tools starts maxWait only once a socket is open and a relay slow to connect held the build open. query() now stops at maxWait from the ask itself; a cold post page built for TelegramBot in 3.7 s (was over 6 s), a browser still gets its page at 0.65 s. BOT_BUDGET_MS 7.5 s covers a reply's three rounds (2.5 + 2.5 + 2 s); nginx on cs allows the note/profile routes 10 s (was 3 s, which cut crawlers short). Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01VMan6WoqaQDYdpWkatPCar
Diffstat (limited to 'tools/live-ingest-test.js')
0 files changed, 0 insertions, 0 deletions