Skip to content

Conversation

alexellis
Copy link
Member

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

Description

Allow for shorter graceful shutdown

How Has This Been Tested?

The healthcheck_interval env-var allows a user to specify a
shorter time before shutting down the HTTP server to new
connections.

This change has been tested upstream in the of-watchdog which
wraps this template.

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

The default behaviour is to continue to use the write_timeout
for a safe shutdown duration.

The healthcheck_interval env-var allows a user to specify a
shorter time before shutting down the HTTP server to new
connections.

This change has been tested upstream in the of-watchdog which
wraps this template.

The default behaviour is to continue to use the write_timeout
for a safe shutdown duration.

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
@alexellis alexellis merged commit b77a0ec into master Nov 2, 2021
@alexellis alexellis deleted the healthcheck_interval branch November 2, 2021 12:18
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