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

Rein in KnowledgeCommunity peer count #8304

Merged
merged 1 commit into from
Dec 4, 2024

Conversation

qstokkink
Copy link
Contributor

Fixes #8292

This PR:

  • Updates the KnowledgeCommunity to more aggressively ward off superfluous peers.

From my local tests, this is enough to keep the peer count under control. In the worst case, we can also blacklist/ban peers: but this does not seem necessary (yet).

@qstokkink qstokkink changed the title WIP: Reign in KnowledgeCommunity peer count WIP: Rein in KnowledgeCommunity peer count Dec 4, 2024
@qstokkink qstokkink force-pushed the upd_knwldg_peer_limit branch 2 times, most recently from 31b2f3b to 4a8017d Compare December 4, 2024 10:28
@qstokkink qstokkink force-pushed the upd_knwldg_peer_limit branch from 4a8017d to bd0175b Compare December 4, 2024 10:33
@qstokkink qstokkink marked this pull request as ready for review December 4, 2024 10:40
@qstokkink qstokkink changed the title WIP: Rein in KnowledgeCommunity peer count READY: Rein in KnowledgeCommunity peer count Dec 4, 2024
@qstokkink qstokkink changed the title READY: Rein in KnowledgeCommunity peer count Rein in KnowledgeCommunity peer count Dec 4, 2024
@qstokkink qstokkink merged commit 9dceab6 into Tribler:main Dec 4, 2024
7 checks passed
@qstokkink qstokkink deleted the upd_knwldg_peer_limit branch December 4, 2024 11:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Weird growth of KnowledgeCommunity size to 172 peers
2 participants