Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

p2p: backoff from discovering peers where connections have already failed #10878

Closed
Maddiaa0 opened this issue Dec 19, 2024 · 0 comments · Fixed by #10907
Closed

p2p: backoff from discovering peers where connections have already failed #10878

Maddiaa0 opened this issue Dec 19, 2024 · 0 comments · Fixed by #10907
Labels
C-p2p Component: peer to peer P-high 🔥 Priority: high. Do this task next. team-alpha

Comments

@Maddiaa0
Copy link
Member

Overview

At the moment we attempt to dial a set of peers if we have not met our expected number of connections. E.g. Say we are at 85 peers and the target is 100, we will always attempt to dial new peers.

The problem

We attempt to dial for peers on the heartbeat interval of 1 second, and we will blindly retry to connect to peers even if we failed to connect to them beforehand.

Backoff and do not try to redial peers we have already failed to dial

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-p2p Component: peer to peer P-high 🔥 Priority: high. Do this task next. team-alpha
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant