Skip to content

v0.2.50

Choose a tag to compare

@robcohen robcohen released this 30 Jan 14:11
· 59 commits to main since this release
5bceeee

Fix stale session cleanup to prevent sync hangs

  • Add timeout (5s) when closing stale sync sessions to prevent blocking
  • Close stale sessions in syncPeer() before starting new sync
  • Close stale sessions with timeout in startSyncSession() and handleIncomingSyncSession()

This fixes an issue where sessions stuck in 'exchanging_versions' state would prevent new syncs from completing.