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

Adding the SIGTERM to soft exit #250

Merged
merged 2 commits into from
Jan 26, 2022
Merged

Adding the SIGTERM to soft exit #250

merged 2 commits into from
Jan 26, 2022

Conversation

arthurguedes375
Copy link
Contributor

When I was using docker-compose I could not generate the flame-graph because the default signal sent by docker-compose is SIGTERM, there are ways to send SIGINT instead of SIGTERM but that adds more complexity to the docker-compose file, and since SIGTERM is not a force exit signal I think that it should be handled the same way that SIGINT is.

@arthurguedes375 arthurguedes375 changed the title Adding the sigterm to soft exit Adding the SIGTERM to soft exit Jan 21, 2022
Copy link
Collaborator

@mcollina mcollina left a comment

Choose a reason for hiding this comment

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

Good work! Could you document this in the README?

package.json Outdated Show resolved Hide resolved
Copy link
Contributor

@RafaelGSS RafaelGSS left a comment

Choose a reason for hiding this comment

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

LGTM.

@mcollina mcollina merged commit 865b023 into davidmarkclements:master Jan 26, 2022
@arthurguedes375 arthurguedes375 deleted the SettingSigtermToSoftExit branch January 28, 2022 03:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants