aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/cfg_utils.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-12-04 15:54:02 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-12-04 15:54:02 +0000
commitbabc0280dbbf7331d0c2a132a825905e403431bb (patch)
tree6b07ea30355520618ea076271eaad30077a44e3c /src/libserver/cfg_utils.c
parentacdbb7f65d72f038568e3e092558a8bcb7afdace (diff)
downloadrspamd-babc0280dbbf7331d0c2a132a825905e403431bb.tar.gz
rspamd-babc0280dbbf7331d0c2a132a825905e403431bb.zip
Init re cache on config post load
Diffstat (limited to 'src/libserver/cfg_utils.c')
-rw-r--r--src/libserver/cfg_utils.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libserver/cfg_utils.c b/src/libserver/cfg_utils.c
index 8c7164fd0..9afbabf60 100644
--- a/src/libserver/cfg_utils.c
+++ b/src/libserver/cfg_utils.c
@@ -675,6 +675,9 @@ rspamd_config_post_load (struct rspamd_config *cfg, gboolean validate_cache)
return rspamd_symbols_cache_validate (cfg->cache, cfg, FALSE);
}
+ /* Init re cache */
+ rspamd_re_cache_init (cfg->re_cache);
+
return TRUE;
}