Skip to content
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

Add Sigkill handling to node binary #480

Merged
merged 3 commits into from
Oct 30, 2023
Merged

Conversation

danielSanchezQ
Copy link
Collaborator

No description provided.

@danielSanchezQ danielSanchezQ marked this pull request as ready for review October 25, 2023 14:02
@danielSanchezQ danielSanchezQ requested review from zeegomo and bacv and removed request for zeegomo October 25, 2023 14:02
@danielSanchezQ danielSanchezQ self-assigned this Oct 25, 2023
Copy link
Member

@bacv bacv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, just double checking it that todo comment is a leftover.

async fn should_stop_service(msg: LifecycleMessage) -> bool {
match msg {
LifecycleMessage::Shutdown(sender) => {
// TODO: Try to finish pending transactions if any and close connections properly
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe there won't be any pending txs in this service

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hopefully not 😅

@danielSanchezQ danielSanchezQ merged commit ef243b0 into master Oct 30, 2023
5 of 6 checks passed
@danielSanchezQ
Copy link
Collaborator Author

CI codeconv was unrelated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants