aboutsummaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2024-01-29 10:31:57 +0000
committerVsevolod Stakhov <vsevolod@rspamd.com>2024-01-29 10:31:57 +0000
commit5faefe0c6c2e3ba98492f1908c85140350a28586 (patch)
treeb2327eac43c2ffa59bd5e6af1f90e193042f21d2 /conf
parent44cebd4448d61157e3952058dbb4a08ff7910b97 (diff)
downloadrspamd-5faefe0c6c2e3ba98492f1908c85140350a28586.tar.gz
rspamd-5faefe0c6c2e3ba98492f1908c85140350a28586.zip
[Feature] Allow to add templates to redis history prefix
Issue: #4793 Closes: #4793
Diffstat (limited to 'conf')
-rw-r--r--conf/modules.d/history_redis.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/conf/modules.d/history_redis.conf b/conf/modules.d/history_redis.conf
index 0d1c7f66f..b55d2fbba 100644
--- a/conf/modules.d/history_redis.conf
+++ b/conf/modules.d/history_redis.conf
@@ -14,7 +14,7 @@
history_redis {
#servers = 127.0.0.1:6379; # Redis server to store history
- key_prefix = "rs_history"; # Default key name
+ key_prefix = "rs_history{{HOSTNAME}}{{COMPRESS}}"; # Default key name template
nrows = 200; # Default rows limit
compress = true; # Use zstd compression when storing data in redis
subject_privacy = false; # subject privacy is off