From: Dmitriy Alekseev <1865999+dragoangel@users.noreply.github.com> Date: Sat, 24 Aug 2024 11:42:53 +0000 (+0200) Subject: Set expiration for history_redis to 5 days by default X-Git-Tag: 3.10.0~33^2~1 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=60d2c8d218ac97a4f5438e6e6e18e9791f2feaf7;p=rspamd.git Set expiration for history_redis to 5 days by default --- diff --git a/src/plugins/lua/history_redis.lua b/src/plugins/lua/history_redis.lua index 3365b30cd..3eecd12ee 100644 --- a/src/plugins/lua/history_redis.lua +++ b/src/plugins/lua/history_redis.lua @@ -22,7 +22,7 @@ redis_history { # History key name key_prefix = 'rs_history{{HOSTNAME}}{{COMPRESS}}'; # History expire in seconds - expire = 0; + expire = 432000; # History rows limit nrows = 200; # Use zstd compression when storing data in redis