diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-02-22 17:45:31 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-02-22 17:45:31 +0000 |
commit | 782871dfcbb4324d96df4962dc821bc7378cf5c2 (patch) | |
tree | 127b91f61dc90165ddc21192e797e099cf09b646 | |
parent | 2b6680df33ad709f82b05f64ada70ec6d4193d74 (diff) | |
download | rspamd-782871dfcbb4324d96df4962dc821bc7378cf5c2.tar.gz rspamd-782871dfcbb4324d96df4962dc821bc7378cf5c2.zip |
[Minor] One more tweak to start fann learning
-rw-r--r-- | src/plugins/lua/fann_redis.lua | 1 |
1 files changed, 1 insertions, 0 deletions
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 |