From: Dmitriy Alekseev <1865999+dragoangel@users.noreply.github.com> Date: Fri, 9 Jan 2026 19:41:50 +0000 (+0100) Subject: [Neural] Add default store_set_only value for rule X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=faed987d4071b76d6ecf3e462f9e60a3787f96eb;p=thirdparty%2Frspamd.git [Neural] Add default store_set_only value for rule --- diff --git a/lualib/plugins/neural.lua b/lualib/plugins/neural.lua index 756da552b7..1bb32dadb3 100644 --- a/lualib/plugins/neural.lua +++ b/lualib/plugins/neural.lua @@ -47,6 +47,7 @@ local default_options = { spam_skip_prob = 0.0, -- proportional mode: spam skip probability (0-1) ham_skip_prob = 0.0, -- proportional mode: ham skip probability store_pool_only = false, -- store tokens in cache only (disables autotrain); + store_set_only = false, -- store ham and spam sets in Redis, but do not train ANN (autotrain must be enabled); -- neural_vec_mpack stores vector of training data in messagepack neural_profile_digest stores profile digest }, watch_interval = 60.0,