Browse Source

[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)
master
Glenn Strauss 6 months ago
parent
commit
d587265992
  1. 2
      src/server.c

2
src/server.c

@ -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;
}

Loading…
Cancel
Save