diff options
-rw-r--r-- | src/plugins/lua/bayes_expiry.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/lua/bayes_expiry.lua b/src/plugins/lua/bayes_expiry.lua index f50484d53..257503866 100644 --- a/src/plugins/lua/bayes_expiry.lua +++ b/src/plugins/lua/bayes_expiry.lua @@ -266,8 +266,8 @@ local expiry_script = [[ end end - redis.call('SETEX', cursor_key, ${expire_step} * 10, tostring(next)) - redis.call('SETEX', step_key, ${expire_step} * 10, tostring(step)) + redis.call('SET', cursor_key, tostring(next)) + redis.call('SET', step_key, tostring(step)) redis.call('DEL', lock_key) return {next, step, nelts, extended, discriminated, mean, stddev, common, significant, infrequent, ttls_set} |