From: Vsevolod Stakhov Date: Fri, 18 Oct 2019 16:14:43 +0000 (+0100) Subject: [Minor] Neural: Remove 10% margin X-Git-Tag: 2.1~69 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=3e886319971bfe745952fa2b073042d28dc5b466;p=rspamd.git [Minor] Neural: Remove 10% margin --- 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