commit c3ad172: Remove unused redis array in history redis
Vitaliy Vasilenko
me at vitalvas.com
Sun May 22 11:28:04 UTC 2022
Author: Vitaliy Vasilenko
Date: 2022-05-21 22:02:27 +0300
URL: https://github.com/rspamd/rspamd/commit/c3ad1720c2c441da23f72e18cfd9f88cf5944308 (refs/pull/4175/head)
Remove unused redis array in history redis
---
src/plugins/lua/history_redis.lua | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/plugins/lua/history_redis.lua b/src/plugins/lua/history_redis.lua
index d0223dd88..9c0220551 100644
--- a/src/plugins/lua/history_redis.lua
+++ b/src/plugins/lua/history_redis.lua
@@ -159,8 +159,6 @@ local function history_save(task)
if settings.expire > 0 then
conn:add_cmd('EXPIRE', {prefix, string.format('%d', settings.expire)})
- else
- conn:add_cmd('SADD', {settings.key_prefix, prefix})
end
end
end
More information about the Commits
mailing list