]> source.dussan.org Git - rspamd.git/commitdiff
Remove unused redis array in history redis 4175/head
authorVitaliy Vasilenko <me@vitalvas.com>
Sat, 21 May 2022 19:02:27 +0000 (22:02 +0300)
committerVitaliy Vasilenko <me@vitalvas.com>
Sat, 21 May 2022 19:02:27 +0000 (22:02 +0300)
src/plugins/lua/history_redis.lua

index d0223dd880709e84e40c6c6d3b054a9b716e3d6a..9c02205518637b6bd7c2d3c6d9fe9c8edd6772a5 100644 (file)
@@ -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