diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-07-07 13:25:53 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-07-07 13:29:26 +0100 |
commit | 2648124d978132498a36313936457a015e56b073 (patch) | |
tree | 175e6bd80dff4170758b8f920ebcf60d65993a65 /src/libserver/cfg_rcl.c | |
parent | 0a6035cf22027b35a298c8870ab9156f82b5e7a6 (diff) | |
download | rspamd-2648124d978132498a36313936457a015e56b073.tar.gz rspamd-2648124d978132498a36313936457a015e56b073.zip |
[Project] Implement HTTP maps caching
Diffstat (limited to 'src/libserver/cfg_rcl.c')
-rw-r--r-- | src/libserver/cfg_rcl.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libserver/cfg_rcl.c b/src/libserver/cfg_rcl.c index 1b93d5213..3be0a655c 100644 --- a/src/libserver/cfg_rcl.c +++ b/src/libserver/cfg_rcl.c @@ -1689,6 +1689,12 @@ rspamd_rcl_config_init (struct rspamd_config *cfg, GHashTable *skip_sections) 0, "Multiplier for map watch interval when map is file"); rspamd_rcl_add_default_handler (sub, + "maps_cache_dir", + rspamd_rcl_parse_struct_string, + G_STRUCT_OFFSET (struct rspamd_config, maps_cache_dir), + 0, + "Directory to save maps cached data (default: $DBDIR)"); + rspamd_rcl_add_default_handler (sub, "monitoring_watch_interval", rspamd_rcl_parse_struct_time, G_STRUCT_OFFSET (struct rspamd_config, monitored_interval), |