From 782871dfcbb4324d96df4962dc821bc7378cf5c2 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Wed, 22 Feb 2017 17:45:31 +0000 Subject: [PATCH] [Minor] One more tweak to start fann learning --- src/plugins/lua/fann_redis.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/lua/fann_redis.lua b/src/plugins/lua/fann_redis.lua index f57a43466..d2351c87d 100644 --- a/src/plugins/lua/fann_redis.lua +++ b/src/plugins/lua/fann_redis.lua @@ -48,6 +48,7 @@ local redis_lua_script_can_train = [[ local nspam = 0 local nham = 0 local lim = tonumber(KEYS[4]) + lim = lim + lim * 0.1 local exists = redis.call('SISMEMBER', KEYS[1], KEYS[2]) if not exists or exists == 0 then -- 2.39.5