Skip to content

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