]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
dict: For Pro edition, default service/dict-async/vsz_limit=2G
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Fri, 28 Feb 2025 11:29:47 +0000 (13:29 +0200)
committerTimo Sirainen <timo.sirainen@open-xchange.com>
Fri, 7 Mar 2025 08:01:55 +0000 (10:01 +0200)
src/dict/dict-settings.c

index fa3e3716a108c4543d7c0da53878e39a6b48665c..3a7da276edd832c9a29f1ef44c452c0d6924334d 100644 (file)
@@ -50,6 +50,11 @@ struct service_settings dict_async_service_settings = {
 
        .drop_priv_before_exec = FALSE,
 
+#ifdef DOVECOT_PRO_EDITION
+       /* Cassandra driver can use up a lot of VSZ */
+       .vsz_limit = 2048ULL * 1024 * 1024,
+#endif
+
        .unix_listeners = ARRAY_INIT,
        .fifo_listeners = ARRAY_INIT,
        .inet_listeners = ARRAY_INIT