fix: lower mesh assertion to 1 P2P connection for Docker NAT reliability#105
Merged
fix: lower mesh assertion to 1 P2P connection for Docker NAT reliability#105
Conversation
Docker NAT hole punching doesn't always succeed for all peer pairs within the timeout window. Lower the minimum from 2 to 1 P2P connection per peer and reduce the polling timeout from 90s to 60s. The subscription propagation delay (15s) added in the previous commit handles the remaining connectivity and awareness requirements. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
71ade6c to
74a0de9
Compare
sanity
added a commit
that referenced
this pull request
Feb 16, 2026
Reverts the weakening from PR #105 which lowered min_p2p_per_peer from 2 to 1 and max_wait from 90s to 60s. The underlying issue (slow topology formation) is fixed in freenet-core PR #3039 which accelerates the topology maintenance loop for peers below min_connections. Closes #106 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Docker NAT hole punching doesn't always succeed for all peer pairs within the timeout window. This lowers the minimum from 2 to 1 P2P connection per peer and reduces the polling timeout from 90s to 60s. The subscription propagation delay (15s from PR #104) handles remaining connectivity requirements.
[AI-assisted - Claude]