aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-10-18 17:14:43 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-10-18 17:14:43 +0100
commit3e886319971bfe745952fa2b073042d28dc5b466 (patch)
treef12b48e0204bf5b2f98d3062b825923c9a4166d6
parentca75dbad6bcb55084cc1104c2dc5ef1109c270c0 (diff)
downloadrspamd-3e886319971bfe745952fa2b073042d28dc5b466.tar.gz
rspamd-3e886319971bfe745952fa2b073042d28dc5b466.zip
[Minor] Neural: Remove 10% margin
-rw-r--r--src/plugins/lua/neural.lua1
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