Skip to content

Add max_shutdown_wait_time option#776

Merged
kpacha merged 2 commits intomasterfrom
sc-908/max-shutdown-wait-time
Oct 16, 2025
Merged

Add max_shutdown_wait_time option#776
kpacha merged 2 commits intomasterfrom
sc-908/max-shutdown-wait-time

Conversation

@thedae
Copy link
Copy Markdown
Member

@thedae thedae commented Oct 15, 2025

Added a new max_shutdown_wait_time option at config root level as a duration string.

This option controls the maximum time the process will wait for requests to end during a shutdown. If the option is not defined, the behavior remains unchanged, as it'll wait indifenitely for connections to be closed

Example

{
  "$schema": "https://krakend.io/schema/krakend.json",
  "version": 3,
  "max_shutdown_wait_time": "5s",
  "endpoints": [...]
}

Signed-off-by: thedae <thedae@gmail.com>
@thedae thedae marked this pull request as ready for review October 16, 2025 09:05
alombarte added a commit to krakend/krakend-schema that referenced this pull request Oct 16, 2025
luraproject/lura#776

Signed-off-by: Albert Lombarte <albert@krakend.io>
Signed-off-by: thedae <thedae@gmail.com>
@kpacha kpacha merged commit 3cf9273 into master Oct 16, 2025
5 checks passed
@kpacha kpacha deleted the sc-908/max-shutdown-wait-time branch October 16, 2025 14:31
@github-actions
Copy link
Copy Markdown

This pull request was marked as resolved a long time ago and now has been automatically locked as there has not been any recent activity after it. You can still open a new issue and reference this link.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Jan 15, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants