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

Executor graceful shutdown: Handle SIGTERM #278

Conversation

mingmwang
Copy link
Contributor

@mingmwang mingmwang commented Sep 26, 2022

Which issue does this PR close?

Closes #266.

Rationale for this change

What changes are included in this PR?

Are there any user-facing changes?

@mingmwang
Copy link
Contributor Author

mingmwang commented Sep 26, 2022

@mingmwang mingmwang changed the title Graceful shutdown: Handle SIGTERM Executor graceful shutdown: Handle SIGTERM Sep 26, 2022
@mingmwang
Copy link
Contributor Author

For windows platform, the latest tokio already supports "CTRLCLOSE". I can add it after we upgrade to new tokio version.

@yahoNanJing
Copy link
Contributor

LGTM

Copy link
Contributor

@thinkharderdev thinkharderdev left a comment

Choose a reason for hiding this comment

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

LGTM

@thinkharderdev thinkharderdev merged commit d832399 into apache:master Sep 26, 2022
@avantgardnerio
Copy link
Contributor

Thank you @thinkharderdev !

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.

Graceful shutdown: Handle SIGTERM
4 participants