diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-04-06 16:06:10 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-04-06 16:06:10 +0100 |
commit | 43ab98a44810c5a82c426e8bf433d1611fabee2f (patch) | |
tree | 96bf6c10e1ee10bab00e2ce0b1e2cd0ceb7189fd /src/lua | |
parent | 197488c5165443be8b8e414c581abe9ed59a7ccc (diff) | |
download | rspamd-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.c | 3 |
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); |