Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
[Heartbeat] Add publish pipeline timeout to run_once #35721
[Heartbeat] Add publish pipeline timeout to run_once #35721
Changes from 13 commits
45abc3c
c996889
49b95c9
6286f1d
6a9c3d5
b9a5b0d
4f7e60f
baa31dd
2caa8f6
d7ba215
ca5d1e0
a1b3ad3
4ca7b9e
daa7802
dc61699
78349c0
8ed6a4c
1c7ef23
4710ead
680feb0
390eb49
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't remember if we ever waited for Kill signal from the OS or any interrupts? Not blocking the PR, just want to understand if we are handling anything differently here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, any interrupt is handled by libbeat which in turn triggers
heartbeat.Stop()
and finally<-bt.done
. This is just replicating the same condition using the wait signal approach and listening both for interrupts OR run once finished event, if in run once mode.