diff options
author | Dmitriy Alekseev <1865999+dragoangel@users.noreply.github.com> | 2024-08-24 13:42:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-24 13:42:53 +0200 |
commit | 60d2c8d218ac97a4f5438e6e6e18e9791f2feaf7 (patch) | |
tree | 774a97bceb9108d760b9b13e4d00327d20134253 /src/plugins | |
parent | 7138860d0598fe55f349bc99dae36064e9f2d7ff (diff) | |
download | rspamd-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.lua | 2 |
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 |