]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
[Neural] Add default store_set_only value for rule
authorDmitriy Alekseev <1865999+dragoangel@users.noreply.github.com>
Fri, 9 Jan 2026 19:41:50 +0000 (20:41 +0100)
committerGitHub <noreply@github.com>
Fri, 9 Jan 2026 19:41:50 +0000 (20:41 +0100)
lualib/plugins/neural.lua

index 756da552b7d69e4ff583b976c6b4bf36696476f7..1bb32dadb37e05fff9f6678a20ff9755461fa7fc 100644 (file)
@@ -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,