aboutsummaryrefslogtreecommitdiffstats
path: root/src/rspamd.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-01-24 12:25:03 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-01-24 12:25:22 +0000
commit55e51977a231b715c3317dbbbf042ccc7310d63d (patch)
tree6570404d534bef88f0ae2d0ebf02503920c59dc4 /src/rspamd.c
parentf217ad81ea039a7662a8fa58b9d3d6b8098ff65b (diff)
downloadrspamd-55e51977a231b715c3317dbbbf042ccc7310d63d.tar.gz
rspamd-55e51977a231b715c3317dbbbf042ccc7310d63d.zip
[Minor] Save symbols cache on reload
Diffstat (limited to 'src/rspamd.c')
-rw-r--r--src/rspamd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rspamd.c b/src/rspamd.c
index c00faa056..a7933ff7c 100644
--- a/src/rspamd.c
+++ b/src/rspamd.c
@@ -273,6 +273,7 @@ reread_config (struct rspamd_main *rspamd_main)
struct rspamd_config *tmp_cfg, *old_cfg;
gchar *cfg_file;
+ rspamd_symbols_cache_save (rspamd_main->cfg->cache);
tmp_cfg = rspamd_config_new ();
g_hash_table_unref (tmp_cfg->c_modules);
tmp_cfg->c_modules = g_hash_table_ref (rspamd_main->cfg->c_modules);