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

Choose randomly who to connect to and open slots with #1424

Merged
merged 3 commits into from
Nov 28, 2023

Conversation

tomaka
Copy link
Contributor

@tomaka tomaka commented Nov 27, 2023

Previously, we would always connect to everyone as quickly as possible, and so the order in which this was done didn't matter. With the re-introduction of the connections per second rate limiting (#1340), the order now matters, and so the peer should be randomly chosen.

@tomaka tomaka added this pull request to the merge queue Nov 28, 2023
Merged via the queue into smol-dot:main with commit 72a0855 Nov 28, 2023
22 checks passed
@tomaka tomaka deleted the random-connect branch November 28, 2023 10:18
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