aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2021-04-06 16:06:10 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2021-04-06 16:06:10 +0100
commit43ab98a44810c5a82c426e8bf433d1611fabee2f (patch)
tree96bf6c10e1ee10bab00e2ce0b1e2cd0ceb7189fd /src/lua
parent197488c5165443be8b8e414c581abe9ed59a7ccc (diff)
downloadrspamd-43ab98a44810c5a82c426e8bf433d1611fabee2f.tar.gz
rspamd-43ab98a44810c5a82c426e8bf433d1611fabee2f.zip
[Minor] Rspamadm: Init symcache in rspamadm clickhouse
Diffstat (limited to 'src/lua')
-rw-r--r--src/lua/lua_config.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lua/lua_config.c b/src/lua/lua_config.c
index f42ca268e..2631f1cec 100644
--- a/src/lua/lua_config.c
+++ b/src/lua/lua_config.c
@@ -4425,6 +4425,9 @@ lua_config_init_subsystem (lua_State *L)
return luaL_error (L, "no event base specified");
}
}
+ else if (strcmp (parts[i], "symcache") == 0) {
+ rspamd_symcache_init (cfg->cache);
+ }
else {
g_strfreev (parts);