-
Notifications
You must be signed in to change notification settings - Fork 8.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FAB-4533] Use context cancellations in deliveryservice
This addresses FAB-4503 and FAB-4489 The reason for the CI failures is that apparently, closing the underlying gRPC connection doesn't always make Recv() return. The solution is to use context.WithCancel and use the cancel function when Disconnect or Close are called and not only close the gRPC stream. Change-Id: Ia255467345dc6178764a2eb4f1e51167b914eebd Signed-off-by: Yacov Manevich <yacovm@il.ibm.com>
- Loading branch information
Showing
2 changed files
with
8 additions
and
7 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
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