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 deadlock between get_status and main loop #2556

Merged

Conversation

e-max
Copy link
Contributor

@e-max e-max commented Feb 10, 2019

Some people reported that a tokio based stratum server might freeze upon some conditions.
I've been running a stratum server with deadlock detection enabled for some time and managed to find a place. It was related to #2446 incorrect fix (not the original fix, but a variant used in async version).

I've created this PR on top of milestone/1.1.0 since async stratum already merged there.

@ignopeverell ignopeverell added this to the 1.1.0 milestone Feb 10, 2019
Copy link
Contributor

@ignopeverell ignopeverell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice cleanup as well 👍

@hashmap hashmap merged commit cbac14c into mimblewimble:milestone/1.1.0 Feb 15, 2019
@hashmap hashmap deleted the fix_deadlock_in_stratum branch February 15, 2019 21:22
@antiochp antiochp added release notes To be included in release notes (of relevant milestone). and removed release notes To be included in release notes (of relevant milestone). labels Jun 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants