From 0a651be3d5f0dc8b9c4d4965cb2207be9bbcfb18 Mon Sep 17 00:00:00 2001 From: Francis Lavoie Date: Mon, 8 May 2023 12:08:27 -0400 Subject: [PATCH] global: Clarify `grace_period` #319 --- src/docs/markdown/caddyfile/options.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/docs/markdown/caddyfile/options.md b/src/docs/markdown/caddyfile/options.md index 5b18ec8..cb67aa7 100644 --- a/src/docs/markdown/caddyfile/options.md +++ b/src/docs/markdown/caddyfile/options.md @@ -248,7 +248,7 @@ log default { ``` ##### `grace_period` -Defines the grace period for shutting down HTTP servers during config changes. During the grace period, no new connections are accepted, idle connections are closed, and active connections are impatiently waited upon to finish their requests. If clients do not finish their requests within the grace period, the server will be forcefully terminated to allow the reload to complete and free up resources. By default, no grace period is set. +Defines the grace period for shutting down HTTP servers (i.e. during config changes or when Caddy is stopping). During the grace period, no new connections are accepted, idle connections are closed, and active connections are impatiently waited upon to finish their requests. If clients do not finish their requests within the grace period, the server will be forcefully terminated to allow the reload to complete and free up resources. Accepts [duration values](/docs/conventions#durations). By default, no grace period is set, so all active connections are closed immediately. ##### `shutdown_delay`