commit 3e88631: [Minor] Neural: Remove 10% margin
Vsevolod Stakhov
vsevolod at highsecure.ru
Fri Oct 18 16:21:07 UTC 2019
Author: Vsevolod Stakhov
Date: 2019-10-18 17:14:43 +0100
URL: https://github.com/rspamd/rspamd/commit/3e886319971bfe745952fa2b073042d28dc5b466
[Minor] Neural: Remove 10% margin
---
src/plugins/lua/neural.lua | 1 -
1 file changed, 1 deletion(-)
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
More information about the Commits
mailing list