diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2025-12-19 12:03:09 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2025-12-19 12:08:05 +0000 |
| commit | 00026a185b4b48d7179d02b50ea9e1802cd7e7e4 (patch) | |
| tree | 06fd1abd38018f6e1e31734efdfbfe2bd9d1d9b4 /src/sync/algorithms.rs | |
| parent | 0228fa1e2fac86cfd2543444eef0784faa7a9715 (diff) | |
fix: prevent CLOSED messages from terminating relay connections
The system was incorrectly treating subscription-specific CLOSED messages
as connection-wide disconnects, causing live subscriptions to be terminated
immediately after historic_sync completed.
Two bugs fixed:
1. relay_connection.rs: Removed break on RelayMessage::Closed - it's
subscription-specific, not connection-wide
2. mod.rs: Removed disconnect handling for RelayEvent::Closed - only log
at DEBUG level and continue
All 41 sync tests now pass including previously failing live sync tests.
Diffstat (limited to 'src/sync/algorithms.rs')
0 files changed, 0 insertions, 0 deletions