aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/lua/history_redis.lua
diff options
context:
space:
mode:
authorVitaliy Vasilenko <me@vitalvas.com>2022-05-21 22:02:27 +0300
committerVitaliy Vasilenko <me@vitalvas.com>2022-05-21 22:02:27 +0300
commitc3ad1720c2c441da23f72e18cfd9f88cf5944308 (patch)
tree5ae98e4ed02ceb7545455f7cabd62dcffcca35be /src/plugins/lua/history_redis.lua
parent581ff8e565d65905c8d9710df28188788e050af0 (diff)
downloadrspamd-c3ad1720c2c441da23f72e18cfd9f88cf5944308.tar.gz
rspamd-c3ad1720c2c441da23f72e18cfd9f88cf5944308.zip
Remove unused redis array in history redis
Diffstat (limited to 'src/plugins/lua/history_redis.lua')
-rw-r--r--src/plugins/lua/history_redis.lua2
1 files changed, 0 insertions, 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