From: Vsevolod Stakhov Date: Tue, 27 Dec 2016 23:01:14 +0000 (+0000) Subject: [Fix] Really increase lock lifetime X-Git-Tag: 1.5.0~473 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=3a2798e0c6a06662d505cac10bf2ea7ad0a61449;p=rspamd.git [Fix] Really increase lock lifetime --- diff --git a/src/plugins/lua/fann_redis.lua b/src/plugins/lua/fann_redis.lua index 743860208..b61bc51ae 100644 --- a/src/plugins/lua/fann_redis.lua +++ b/src/plugins/lua/fann_redis.lua @@ -727,7 +727,7 @@ local function train_fann(_, ev_base, elt) true, -- is write redis_lock_extend_cb, --callback 'INCRBY', -- command - {fann_prefix .. elt, '30'} + {fann_prefix .. elt .. '_lock', '30'} ) else return false -- do not plan any more updates