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

Listen to system termination signals #152

Merged
merged 1 commit into from
Jun 9, 2018
Merged

Conversation

erwinvaneyk
Copy link
Member

@erwinvaneyk erwinvaneyk commented Jun 8, 2018

Currently termination can only be forced (as the context that is used to determine cancellation is never actually cancelled). This PR closes the context on termination signals from the OS.

This should reduce the runtime of tests especially (as a significant amount of time is spent on waiting for workflows process to finish after a SIGTERM.

@erwinvaneyk erwinvaneyk merged commit dd6a148 into master Jun 9, 2018
@erwinvaneyk erwinvaneyk deleted the graceful-shutdown branch June 9, 2018 10:13
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.

1 participant