summaryrefslogtreecommitdiffstats
path: root/src/cfg_xml.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2012-10-08 19:09:51 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2012-10-08 19:09:51 +0400
commita1e2b2d84b185b5430252d7ead5806944be433af (patch)
treec1dcf94b6772aa0160cd3b5cc3be120f9f8ac7f2 /src/cfg_xml.c
parent21f0f09256917dd5dff8d3cf4680322f96c67b7f (diff)
downloadrspamd-a1e2b2d84b185b5430252d7ead5806944be433af.tar.gz
rspamd-a1e2b2d84b185b5430252d7ead5806944be433af.zip
Make mlock option as tunable.
Diffstat (limited to 'src/cfg_xml.c')
-rw-r--r--src/cfg_xml.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/cfg_xml.c b/src/cfg_xml.c
index a144db720..99aad12ab 100644
--- a/src/cfg_xml.c
+++ b/src/cfg_xml.c
@@ -318,6 +318,12 @@ static struct xml_parser_rule grammar[] = {
G_STRUCT_OFFSET (struct config_file, dynamic_conf),
NULL
},
+ {
+ "use_mlock",
+ xml_handle_boolean,
+ G_STRUCT_OFFSET (struct config_file, mlock_statfile_pool),
+ NULL
+ },
NULL_ATTR
},
NULL_DEF_ATTR