diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2026-01-09 22:02:02 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2026-01-09 22:02:02 +0000 |
| commit | 1079db274ed97fc84f7a6ca756707e5fa30cd3c9 (patch) | |
| tree | 10b6e0bf7b187d5d035586b46043df511c3ccddd /src/git/process.rs | |
| parent | d5a15c53db5d232173d7fb5379ce047dcee30a14 (diff) | |
fix: downgrade negentropy timeout warning to debug level
Negentropy diff timeouts are expected when relays don't support NIP-77.
The relay responds with NOTICE 'unknown envelope label' and the timeout
is hit before we recognize this is unsupported rather than a failure.
Changes:
- Downgrade from warn! to debug! in negentropy_sync_filter()
(src/sync/relay_connection.rs:493)
- Add comment explaining timeouts are common for non-NIP-77 relays
- Update message to clarify timeout typically means no NIP-77 support
The existing fallback mechanism (lines 505-509) properly handles this
case and logs a one-time warning about falling back to REQ+EOSE.
Discovered via production sync testing against wss://git.shakespeare.diy
Diffstat (limited to 'src/git/process.rs')
0 files changed, 0 insertions, 0 deletions