-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ensure heartbeat task is cancelled after execution
This fixes an issue where the heartbeat spawned task would continue to run indefinitely, even after execution had been completed. We address this by incorporating the join handle as a select branch, ensuring that the future is cancelled when either the execution finishes or it times out.
- Loading branch information
1 parent
016eae8
commit f5f60d7
Showing
1 changed file
with
14 additions
and
8 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