aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2024-02-21 11:24:19 +0000
committerVsevolod Stakhov <vsevolod@rspamd.com>2024-02-21 11:24:19 +0000
commit50e9652789628026d15e08c3e891e50364375fc6 (patch)
tree3e0da4a8b91a2281c87b178adef97b1ef8a2f92d /src
parent8c8f53d783edb077d067a26c122fc5f42acbb954 (diff)
downloadrspamd-50e9652789628026d15e08c3e891e50364375fc6.tar.gz
rspamd-50e9652789628026d15e08c3e891e50364375fc6.zip
[Fix] Fix history key, as we use `{=` and not `{{` in templates
Diffstat (limited to 'src')
-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 f2554ef93..1a6d10705 100644
--- a/src/plugins/lua/history_redis.lua
+++ b/src/plugins/lua/history_redis.lua
@@ -57,7 +57,7 @@ local template_env = {
local redis_params
local settings = {
- key_prefix = 'rs_history{{HOSTNAME}}{{COMPRESS}}', -- default key name template
+ key_prefix = 'rs_history{=HOSTNAME=}{=COMPRESS=}', -- default key name template
expire = nil, -- default no expire
nrows = 200, -- default rows limit
compress = true, -- use zstd compression when storing data in redis