-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: don't record failures on context cancellation
Gate the case where the retriever (parent) cancels a protocol retriever because another has completed successfully. If a retrieval fails in this case, it's not a failure that we should either report in the event system, or record against the SP's performance stats. Fixes: #364 I believe this fixes #364, but it's hard to reproduce reliably so I can't be sure.
- Loading branch information
Showing
2 changed files
with
23 additions
and
10 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