]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
doveadm: For Pro edition, default to service_restart_request_count=1000
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Wed, 3 Sep 2025 10:58:28 +0000 (13:58 +0300)
committerTimo Sirainen <timo.sirainen@open-xchange.com>
Wed, 3 Sep 2025 10:58:28 +0000 (13:58 +0300)
src/doveadm/doveadm-settings.c

index cdc7e6775cf135f42e16689e52618d86555f75c0..974bd4bf2f96484d339236098637f06e82cf9eb9 100644 (file)
@@ -29,7 +29,11 @@ struct service_settings doveadm_service_settings = {
        .drop_priv_before_exec = FALSE,
 
        .client_limit = 1,
+#ifdef DOVECOT_PRO_EDITION
+       .restart_request_count = 1000,
+#else
        .restart_request_count = 1,
+#endif
 
        .unix_listeners = ARRAY_INIT,
        .fifo_listeners = ARRAY_INIT,