diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-10-18 17:14:43 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-10-18 17:14:43 +0100 |
commit | 3e886319971bfe745952fa2b073042d28dc5b466 (patch) | |
tree | f12b48e0204bf5b2f98d3062b825923c9a4166d6 | |
parent | ca75dbad6bcb55084cc1104c2dc5ef1109c270c0 (diff) | |
download | rspamd-3e886319971bfe745952fa2b073042d28dc5b466.tar.gz rspamd-3e886319971bfe745952fa2b073042d28dc5b466.zip |
[Minor] Neural: Remove 10% margin
-rw-r--r-- | src/plugins/lua/neural.lua | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/plugins/lua/neural.lua b/src/plugins/lua/neural.lua index 7acb0eca3..1ff1f40d7 100644 --- a/src/plugins/lua/neural.lua +++ b/src/plugins/lua/neural.lua @@ -105,7 +105,6 @@ local redis_lua_script_can_store_train_vec = [[ local nspam = 0 local nham = 0 local lim = tonumber(KEYS[3]) - lim = lim + lim * 0.1 local ret = redis.call('LLEN', prefix .. '_spam') if ret then nspam = tonumber(ret) end |