[core] "server.graceful-shutdown-timeout" => 8
default "server.graceful-shutdown-timeout" => 8
previous default 0; disabled, so infinite timeout
configure previous behavior with:
server.feature-flags += ("server.graceful-shutdown-timeout" => 0)
@@ -993,7 +993,7 @@ static void server_graceful_state (server *srv) {
if (!srv_shutdown) {
if (0 == srv->graceful_expire_ts) {
srv->graceful_expire_ts =
- config_feature_int(srv, "server.graceful-shutdown-timeout", 0);
+ config_feature_int(srv, "server.graceful-shutdown-timeout", 8);
if (srv->graceful_expire_ts)
srv->graceful_expire_ts += log_monotonic_secs;
}
