diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-06-26 16:36:36 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-06-26 16:37:06 +0100 |
commit | 3efd7b744da68245805f0da64661ec5cf7cd5483 (patch) | |
tree | 7f9b29571693b6218807fa7db3302a8986ad9ab7 /src/libutil/map.h | |
parent | f16ae1bbd43346b8fb2d79b0fd476c771b32a7cc (diff) | |
download | rspamd-3efd7b744da68245805f0da64661ec5cf7cd5483.tar.gz rspamd-3efd7b744da68245805f0da64661ec5cf7cd5483.zip |
[Feature] Preload file and static maps in main process
Diffstat (limited to 'src/libutil/map.h')
-rw-r--r-- | src/libutil/map.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libutil/map.h b/src/libutil/map.h index 9c7485c58..80aa03825 100644 --- a/src/libutil/map.h +++ b/src/libutil/map.h @@ -85,6 +85,12 @@ void rspamd_map_watch (struct rspamd_config *cfg, gboolean active_http); /** + * Preloads maps where all backends are file + * @param cfg + */ +void rspamd_map_preload (struct rspamd_config *cfg); + +/** * Remove all maps watched (remove events) */ void rspamd_map_remove_all (struct rspamd_config *cfg); |