From 3e886319971bfe745952fa2b073042d28dc5b466 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Fri, 18 Oct 2019 17:14:43 +0100 Subject: [PATCH] [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 -- 2.39.5