diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2012-10-08 19:09:51 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2012-10-08 19:09:51 +0400 |
commit | a1e2b2d84b185b5430252d7ead5806944be433af (patch) | |
tree | c1dcf94b6772aa0160cd3b5cc3be120f9f8ac7f2 /src/cfg_xml.c | |
parent | 21f0f09256917dd5dff8d3cf4680322f96c67b7f (diff) | |
download | rspamd-a1e2b2d84b185b5430252d7ead5806944be433af.tar.gz rspamd-a1e2b2d84b185b5430252d7ead5806944be433af.zip |
Make mlock option as tunable.
Diffstat (limited to 'src/cfg_xml.c')
-rw-r--r-- | src/cfg_xml.c | 6 |
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 |