]> source.dussan.org Git - rspamd.git/commitdiff
[Fix] Default ANN names in clickhouse 3491/head
authorVitaliy Vasilenko <me@vitalvas.com>
Fri, 25 Sep 2020 18:31:40 +0000 (21:31 +0300)
committerVitaliy Vasilenko <me@vitalvas.com>
Fri, 25 Sep 2020 18:31:40 +0000 (21:31 +0300)
src/plugins/lua/clickhouse.lua

index 487997ddd7ff455228dc0a3afac2e9fdf1749521..c38669a2c3b8ef5d192f964b0cbba17e5d1828c4 100644 (file)
@@ -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'},