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

Use condition rather than polling to wait for closed peers #155

Merged
merged 2 commits into from
Jan 18, 2025

Conversation

ChrisSchinnerl
Copy link
Member

The polling has bitten us a bit when debugging the deadlock since it doesn't show up in a stacktrace. This makes sure that we will be aware of goroutines blocking indefinitely on the condition.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
@n8maninger n8maninger merged commit bab2bc5 into master Jan 18, 2025
8 checks passed
@n8maninger n8maninger deleted the chris/peer-cond branch January 18, 2025 20:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

3 participants