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

Connections to Allow list peers should not be pruned #1515

Closed
achingbrain opened this issue Dec 6, 2022 · 0 comments · Fixed by #1564
Closed

Connections to Allow list peers should not be pruned #1515

achingbrain opened this issue Dec 6, 2022 · 0 comments · Fixed by #1564
Assignees
Labels
exp/novice Someone with a little familiarity can pick up good first issue Good issue for new contributors help wanted Seeking public contribution on this issue

Comments

@achingbrain
Copy link
Member

When connection limits are breached, connections can be pruned to bring the node back under it's limits.

Allow lists are supported to allow certain peers to always open connections, connections from these peers should be excluded from connection pruning.

@achingbrain achingbrain added help wanted Seeking public contribution on this issue exp/novice Someone with a little familiarity can pick up good first issue Good issue for new contributors labels Dec 6, 2022
maschad added a commit to maschad/js-libp2p that referenced this issue Dec 8, 2022
maschad added a commit to maschad/js-libp2p that referenced this issue Dec 13, 2022
maschad added a commit to maschad/js-libp2p that referenced this issue Dec 15, 2022
maschad added a commit to maschad/js-libp2p that referenced this issue Dec 16, 2022
maschad added a commit to maschad/js-libp2p that referenced this issue Jan 3, 2023
maschad added a commit to maschad/js-libp2p that referenced this issue Jan 4, 2023
maschad added a commit to maschad/js-libp2p that referenced this issue Jan 7, 2023
maschad added a commit to maschad/js-libp2p that referenced this issue Jan 16, 2023
maschad added a commit to maschad/js-libp2p that referenced this issue Jan 18, 2023
@maschad maschad self-assigned this Feb 6, 2023
achingbrain pushed a commit that referenced this issue Mar 21, 2023
If the connection manager needs to reduce the number of active connections, do not close connections to peers that are in the allow list.

Closes #1515
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
exp/novice Someone with a little familiarity can pick up good first issue Good issue for new contributors help wanted Seeking public contribution on this issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants