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

Propagate closing channel before resolve timeout #223

Merged
merged 1 commit into from
Oct 26, 2023

Conversation

phillebaba
Copy link
Member

@phillebaba phillebaba commented Oct 10, 2023

This change aims to address timeouts that occur when a key cannot be resolved at all. Currently every request that can't be resolved will be forced to wait the full timeout. A better solution is to exit early if libp2p closes the channel.

@phillebaba phillebaba merged commit 5bd3eb7 into main Oct 26, 2023
4 checks passed
@phillebaba phillebaba deleted the p2p-resolve-timeout branch October 26, 2023 12:25
t1mt pushed a commit to t1mt/spegel that referenced this pull request Sep 3, 2024
Propagate closing channel before resolve timeout
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