-
released this
2026-10-29 14:41:47 +00:00 | 31 commits to main since this releaseFixed
search_resources/search_content: a zero-result response caused only by
licenseFilter(e.g. acreatorName/publisherNamefilter matching
resources that are all under a license outside the filter's scope) no
longer shows the "exact spelling" actor hint — it now reports how many
resources matched under other licenses and, when the operator ceiling
(LICENSE_FILTER_MAX) allows it, suggests retrying with a wider
licenseFilter; when the ceiling forbids widening, it says the matches
are under licenses this server doesn't return instead. The actor-spelling
hint is now shown only when the actor name truly matched nothing,
regardless of the license filter.- Relay queries (
search_resources,search_content, every other relay
read) no longer get silently truncated at nostr-tools' internal 4.4s
default EOSE timeout — our own, much longer, query timeout wasn't being
passed down (maxWait/eoseTimeout), so any relay slower than that was
cut off with notimedOutdiagnostic at all (the likely real cause of
sodixcoming back empty under reindex load, answering in 11-17s). On
top of that, the previous timeout fix (now corrected) also discarded
events already received when the deadline fired instead of returning
them, under-counted which relays actually timed out across multiple
relays, and could resolve a multi-relay query after only the first
relay's EOSE. The timeout is configurable viaRELAY_QUERY_TIMEOUT_MS
(default 25000, up from 10000) and closes the stalled subscription
instead of leaking it. Zero-result follow-up probes (the license hint
above,resolve_publisher's did-you-mean fallback) now use a short
5s budget instead of the full query timeout, so a worst-case empty
response doesn't chain into tens of seconds of added latency.
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads