fixed search

This commit is contained in:
Ultradesu
2026-07-16 16:40:48 +03:00
parent 747ed7a3e9
commit 5db2efbd2e
6 changed files with 238 additions and 36 deletions
+8
View File
@@ -128,8 +128,16 @@ max records per FindValue response = 100
max artist name = 512 bytes, max tokens = 32
max pending requests = 1024
request timeout = 5 s, lookup timeout = 15 s
on-demand dial timeout = 5 s
dial backoff = 30 s doubling up to 10 min, eviction after 5 failures
```
Value lookups return as soon as the first records arrive; in-flight requests
to slower or dead contacts are cancelled. Contacts that failed to dial are
skipped for an exponentially growing backoff window and evicted after five
consecutive failures (peer exchange re-adds them with a clean slate if they
come back).
## Library usage
The CLI is a thin wrapper around the `artist-dht` library: