From 60d2c8d218ac97a4f5438e6e6e18e9791f2feaf7 Mon Sep 17 00:00:00 2001 From: Dmitriy Alekseev <1865999+dragoangel@users.noreply.github.com> Date: Sat, 24 Aug 2024 13:42:53 +0200 Subject: [PATCH] Set expiration for history_redis to 5 days by default --- src/plugins/lua/history_redis.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5