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

rpcwebsocket: Use nonblocking messages and ntfns. #2026

Merged
merged 1 commit into from
Dec 27, 2019

Conversation

davecgh
Copy link
Member

@davecgh davecgh commented Dec 27, 2019

All sends to channels that are serviced by separate goroutines that can be shutdown via a quit channel need to ensure they select across that quit channel when sending to the associated channel to ensure they can't end up blocking on the send during shutdown.

@davecgh davecgh added this to the 1.6.0 milestone Dec 27, 2019
All sends to channels that are serviced by separate goroutines that can
be shutdown via a quit channel need to ensure they select across that
quit channel when sending to the associated channel to ensure they can't
end up blocking on the send during shutdown.
@davecgh davecgh force-pushed the rpcserver_nonblocking_enqueue branch from f0c2ed9 to 1cfd572 Compare December 27, 2019 18:00
@davecgh davecgh merged commit 1cfd572 into decred:master Dec 27, 2019
@davecgh davecgh deleted the rpcserver_nonblocking_enqueue branch December 27, 2019 18:04
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.

2 participants