Skip to content

Fix/store keypair and download timeout#27

Merged
tripledoublev merged 4 commits intomainfrom
fix/store-keypair-and-download-timeout
Feb 12, 2026
Merged

Fix/store keypair and download timeout#27
tripledoublev merged 4 commits intomainfrom
fix/store-keypair-and-download-timeout

Conversation

@tripledoublev
Copy link
Collaborator

  • Store keypair after join_group: After opening the DHT
    record on join, persist the keypair to the protected
    store so that refresh_group/get_group can reload it
    later. Without this, rejoining a group after restart
    would fail.
  • Add per-peer download timeout: Wrap download_file_from
    in a 10s timeout so a single hung peer doesn't stall
    the entire download loop.
  • Increase retry resilience: Bump max retries from 3 to
    5 and max backoff from 2s to 4s to better handle
    transient Veilid route flakiness.

@tripledoublev tripledoublev merged commit 455a0a5 into main Feb 12, 2026
1 check passed
@tripledoublev tripledoublev deleted the fix/store-keypair-and-download-timeout branch February 12, 2026 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant