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

fix: close short-lived connections first when pruning by tag value #1517

Merged

Conversation

maschad
Copy link
Member

@maschad maschad commented Dec 13, 2022

Closes #1509

@maschad
Copy link
Member Author

maschad commented Dec 15, 2022

Seems to be failing due to a timeout from an ipfs node

@maschad maschad force-pushed the fix/close-shortlived-connections-first branch from 793c59e to 014e545 Compare December 16, 2022 03:15
@achingbrain achingbrain merged commit 40fe372 into libp2p:master Jan 4, 2023
ckousik pushed a commit to ckousik/js-libp2p that referenced this pull request Jan 24, 2023
…ibp2p#1517)

When choosing connections to close, choose shorter lived connections over longer lived ones.

Closes libp2p#1509
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.

Close short-lived connections first
3 participants