diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2024-02-21 11:24:19 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rspamd.com> | 2024-02-21 11:24:19 +0000 |
commit | 50e9652789628026d15e08c3e891e50364375fc6 (patch) | |
tree | 3e0da4a8b91a2281c87b178adef97b1ef8a2f92d /src | |
parent | 8c8f53d783edb077d067a26c122fc5f42acbb954 (diff) | |
download | rspamd-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.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 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 |