commit 794bb6c: [Fix] Avoid reinitialising neural settings
Andrew Lewis
nerf at judo.za.org
Fri Feb 5 13:07:06 UTC 2021
Author: Andrew Lewis
Date: 2021-02-05 14:37:43 +0200
URL: https://github.com/rspamd/rspamd/commit/794bb6c241c5d5002261b4d2d2c27cea40d19dfe (refs/pull/3633/head)
[Fix] Avoid reinitialising neural settings
---
rules/controller/neural.lua | 2 --
1 file changed, 2 deletions(-)
diff --git a/rules/controller/neural.lua b/rules/controller/neural.lua
index 3207e008c..b3ec690e0 100644
--- a/rules/controller/neural.lua
+++ b/rules/controller/neural.lua
@@ -61,8 +61,6 @@ local function handle_learn(task, conn)
conn:send_string('{"success" : true}')
end
-rspamd_config:add_post_init(neural_common.process_rules_settings)
-
return {
learn = {
handler = handle_learn,
More information about the Commits
mailing list