]> source.dussan.org Git - rspamd.git/commitdiff
Set expiration for history_redis to 5 days by default
authorDmitriy Alekseev <1865999+dragoangel@users.noreply.github.com>
Sat, 24 Aug 2024 11:42:53 +0000 (13:42 +0200)
committerGitHub <noreply@github.com>
Sat, 24 Aug 2024 11:42:53 +0000 (13:42 +0200)
src/plugins/lua/history_redis.lua

index 3365b30cd2f5a47b6b910b3aa14de57328239cb9..3eecd12ee5e71b13362a2ca4065f7e15daafd748 100644 (file)
@@ -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