commit c3ca4d1: [Fix] Default ANN names in clickhouse

Vitaliy Vasilenko me at vitalvas.com
Fri Sep 25 18:49:06 UTC 2020


Author: Vitaliy Vasilenko
Date: 2020-09-25 21:31:40 +0300
URL: https://github.com/rspamd/rspamd/commit/c3ca4d179f726bced3131e0798bb12b5d066b3f8 (refs/pull/3491/head)

[Fix] Default ANN names in clickhouse

---
 src/plugins/lua/clickhouse.lua | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/plugins/lua/clickhouse.lua b/src/plugins/lua/clickhouse.lua
index 487997ddd..c38669a2c 100644
--- a/src/plugins/lua/clickhouse.lua
+++ b/src/plugins/lua/clickhouse.lua
@@ -46,8 +46,8 @@ local settings = {
   timeout = 5.0,
   bayes_spam_symbols = {'BAYES_SPAM'},
   bayes_ham_symbols = {'BAYES_HAM'},
-  ann_spam_symbols = {'NEURAL_SPAM'},
-  ann_ham_symbols = {'NEURAL_HAM'},
+  ann_symbols_spam = {'NEURAL_SPAM'},
+  ann_symbols_ham = {'NEURAL_HAM'},
   fuzzy_symbols = {'FUZZY_DENIED'},
   whitelist_symbols = {'WHITELIST_DKIM', 'WHITELIST_SPF_DKIM', 'WHITELIST_DMARC'},
   dkim_allow_symbols = {'R_DKIM_ALLOW'},


More information about the Commits mailing list