aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/cfg_rcl.c
diff options
context:
space:
mode:
authorAndrew Lewis <nerf@judo.za.org>2017-07-07 12:14:28 +0200
committerAndrew Lewis <nerf@judo.za.org>2017-07-07 12:14:28 +0200
commit5bfd0fcf4988799f7e4f029df627687f22e55d83 (patch)
tree5a47095e68fc9018d0163e345178f330bf4021c2 /src/libserver/cfg_rcl.c
parent5c631c922ae329bdca994d0a2967eee80d830cd3 (diff)
downloadrspamd-5bfd0fcf4988799f7e4f029df627687f22e55d83.tar.gz
rspamd-5bfd0fcf4988799f7e4f029df627687f22e55d83.zip
[Feature] Reload file maps more frequently
Diffstat (limited to 'src/libserver/cfg_rcl.c')
-rw-r--r--src/libserver/cfg_rcl.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libserver/cfg_rcl.c b/src/libserver/cfg_rcl.c
index ddc9ca066..67f91ab9b 100644
--- a/src/libserver/cfg_rcl.c
+++ b/src/libserver/cfg_rcl.c
@@ -1984,6 +1984,12 @@ rspamd_rcl_config_init (struct rspamd_config *cfg)
RSPAMD_CL_FLAG_TIME_FLOAT,
"Interval for checking maps");
rspamd_rcl_add_default_handler (sub,
+ "map_file_watch_multiplier",
+ rspamd_rcl_parse_struct_double,
+ G_STRUCT_OFFSET (struct rspamd_config, map_file_watch_multiplier),
+ 0,
+ "Multiplier for map watch interval when map is file");
+ rspamd_rcl_add_default_handler (sub,
"dynamic_conf",
rspamd_rcl_parse_struct_string,
G_STRUCT_OFFSET (struct rspamd_config, dynamic_conf),