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

Adds graceful shutdown for golang -middleware and -http #36

Merged
merged 1 commit into from Feb 6, 2020

Conversation

alexellis
Copy link
Member

Description

Adds graceful shutdown for golang -middleware and -http

Signed-off-by: Alex Ellis (OpenFaaS Ltd) alexellis2@gmail.com

How Has This Been Tested?

Closes: #35

Tested outside of a container, using kill -s TERM - it
worked as expected by waiting for N seconds.

How are existing users impacted? What migration steps/scripts do we need?

Enhancement, users can rebuild to get this change.

Screenshot 2020-02-06 at 10 52 48

Closes: #35

Tested outside of a container, using kill -s TERM <PID> - it
worked as expected by waiting for N seconds.

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
@alexellis alexellis merged commit 1c52628 into master Feb 6, 2020
@alexellis alexellis deleted the add-graceful-shutdown branch February 6, 2020 11:00
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 for Kubernetes
1 participant