]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
config: Don't stop the process due to idling.
authorTimo Sirainen <timo.sirainen@dovecot.fi>
Mon, 27 Mar 2017 12:28:01 +0000 (15:28 +0300)
committerTimo Sirainen <timo.sirainen@dovecot.fi>
Thu, 30 Mar 2017 17:53:37 +0000 (20:53 +0300)
If the config process restarts, it also reloads configuration. We'd rather
want the configuration reloads to always be explicit.

src/config/config-settings.c

index d8c91c9d6350c37a545aea3beddd640f35396a0b..b8ace8060d9cacf1f19abfb17602be53c0da614b 100644 (file)
@@ -36,7 +36,7 @@ struct service_settings config_service_settings = {
        .process_limit = 0,
        .client_limit = 0,
        .service_count = 0,
-       .idle_kill = 0,
+       .idle_kill = UINT_MAX,
        .vsz_limit = (uoff_t)-1,
 
        .unix_listeners = { { &config_unix_listeners_buf,