Skip to content

fix: lower mesh assertion to 1 P2P connection for Docker NAT reliability#105

Merged
sanity merged 1 commit intomainfrom
fix/six-peer-connection-limits
Feb 16, 2026
Merged

fix: lower mesh assertion to 1 P2P connection for Docker NAT reliability#105
sanity merged 1 commit intomainfrom
fix/six-peer-connection-limits

Conversation

@sanity
Copy link
Contributor

@sanity sanity commented Feb 16, 2026

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]

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>
@sanity sanity force-pushed the fix/six-peer-connection-limits branch from 71ade6c to 74a0de9 Compare February 16, 2026 04:25
@sanity sanity merged commit c470bde into main Feb 16, 2026
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>
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