This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Adjust the ratio of the in-peers/out-peers#13477
Merged
Conversation
Establish fewer outbound connections in an attempt to allow publicly available nodes to accept more full nodes. Maintain the overall number of connections node should establish.
dmitry-markin
approved these changes
Feb 27, 2023
Contributor
|
Do you think it nevertheless makes sense controlling the number of out connections dynamically depending on the major syncing status? |
bkchr
approved these changes
Feb 27, 2023
Contributor
Author
I think it would require more research what is appropriate + way for people opt out. I also think it should be anyway be clamped at the lower bound to some sensible value (which is effectively what this PR does). It is sort of a hidden feature which could be improved of course and we can revisit this solution in the (near) future. |
Contributor
|
Not 100% sure but this PR #13700 might fix the problem. |
ukint-vs
pushed a commit
to gear-tech/substrate
that referenced
this pull request
Apr 10, 2023
Establish fewer outbound connections in an attempt to allow publicly available nodes to accept more full nodes. Maintain the overall number of connections node should establish.
15 tasks
nathanwhit
pushed a commit
to nathanwhit/substrate
that referenced
this pull request
Jul 19, 2023
Establish fewer outbound connections in an attempt to allow publicly available nodes to accept more full nodes. Maintain the overall number of connections node should establish.
Closed
46 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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.

Establish fewer outbound connections in an attempt to allow publicly available nodes to accept more full nodes.
Maintain the overall number of connections node should establish.