diff options
author | Vitaliy Vasilenko <me@vitalvas.com> | 2022-05-21 22:02:27 +0300 |
---|---|---|
committer | Vitaliy Vasilenko <me@vitalvas.com> | 2022-05-21 22:02:27 +0300 |
commit | c3ad1720c2c441da23f72e18cfd9f88cf5944308 (patch) | |
tree | 5ae98e4ed02ceb7545455f7cabd62dcffcca35be /src/plugins/lua/history_redis.lua | |
parent | 581ff8e565d65905c8d9710df28188788e050af0 (diff) | |
download | rspamd-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.lua | 2 |
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 |