-
Notifications
You must be signed in to change notification settings - Fork 106
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
Limit the number of outbound peer connections #2944
Merged
Merged
Commits on Oct 27, 2021
-
Configuration menu - View commit details
-
Copy full SHA for f140f7d - Browse repository at this point
Copy the full SHA f140f7dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 03f3e12 - Browse repository at this point
Copy the full SHA 03f3e12View commit details -
Bias Zebra towards outbound connections
And turn connection limits into `Config` methods.
Configuration menu - View commit details
-
Copy full SHA for 4fcf5a6 - Browse repository at this point
Copy the full SHA 4fcf5a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1f81c20 - Browse repository at this point
Copy the full SHA 1f81c20View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6390788 - Browse repository at this point
Copy the full SHA 6390788View commit details -
Includes: - `fastmod OUTBOUND_PEER_BIAS_FRACTION OUTBOUND_PEER_BIAS_DENOMINATOR zebra*` - clarify connection limit documentation
Configuration menu - View commit details
-
Copy full SHA for 94be242 - Browse repository at this point
Copy the full SHA 94be242View commit details -
Configuration menu - View commit details
-
Copy full SHA for 76dbaf2 - Browse repository at this point
Copy the full SHA 76dbaf2View commit details -
Configuration menu - View commit details
-
Copy full SHA for d3884eb - Browse repository at this point
Copy the full SHA d3884ebView commit details -
Avoid cooperative async task starvation in the peer crawler and listener
If we don't yield in these loops, they can run for a long time before tokio forces them to yield.
Configuration menu - View commit details
-
Copy full SHA for df3cc1a - Browse repository at this point
Copy the full SHA df3cc1aView commit details -
Test the crawler with small connection limits
And use the multi-threaded runtime to avoid long hangs.
Configuration menu - View commit details
-
Copy full SHA for abb695c - Browse repository at this point
Copy the full SHA abb695cView commit details -
Configuration menu - View commit details
-
Copy full SHA for ad51903 - Browse repository at this point
Copy the full SHA ad51903View commit details -
Avoid starvation for every connection
Adds yields after inbound successes and initial peer connections.
Configuration menu - View commit details
-
Copy full SHA for ecf51e4 - Browse repository at this point
Copy the full SHA ecf51e4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 627712a - Browse repository at this point
Copy the full SHA 627712aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4315699 - Browse repository at this point
Copy the full SHA 4315699View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0fd5259 - Browse repository at this point
Copy the full SHA 0fd5259View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e0768c - Browse repository at this point
Copy the full SHA 0e0768cView commit details
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.