aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorDmitriy Alekseev <1865999+dragoangel@users.noreply.github.com>2024-08-24 13:42:53 +0200
committerGitHub <noreply@github.com>2024-08-24 13:42:53 +0200
commit60d2c8d218ac97a4f5438e6e6e18e9791f2feaf7 (patch)
tree774a97bceb9108d760b9b13e4d00327d20134253 /src/plugins
parent7138860d0598fe55f349bc99dae36064e9f2d7ff (diff)
downloadrspamd-60d2c8d218ac97a4f5438e6e6e18e9791f2feaf7.tar.gz
rspamd-60d2c8d218ac97a4f5438e6e6e18e9791f2feaf7.zip
Set expiration for history_redis to 5 days by default
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/lua/history_redis.lua2
1 files changed, 1 insertions, 1 deletions
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