-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(consensus): remove next_message to ensure cancellation safety (
#2497) Previously we could receive a message and then at the await point for continue_propagation or report_peer the select statement could complete another branch resulting in a dropped message.
- Loading branch information
1 parent
b214d2f
commit 780935a
Showing
1 changed file
with
29 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters