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

Allow for shorter graceful shutdown #61

Merged
merged 1 commit into from Nov 2, 2021
Merged

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.

None yet

1 participant