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

Enable Graceful Shutdown in Jetty #1651

Draft
wants to merge 6 commits into
base: master
Choose a base branch
from
Draft

Conversation

eshryane
Copy link
Member

@eshryane eshryane commented Feb 4, 2025

(Re-)introduce support for graceful shutdown in the embedded Jetty server.

(1) We want to continue to accept incoming HTTP connections during a grace period, so that we can answer 503 to the loadbalancer healthcheck requests.
(2) Then stop accepting further connections but wait for existing connections to complete.
(3) Shutdown after a further grace period (probably following the existing 60s connection timeout).

It seems the shutdown.pause.sec property is no longer used for anything. It was introduced in #896 but then those changes were removed in #1142.

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