summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2024-02-21 16:53:56 +0000
committerGitHub <noreply@github.com>2024-02-21 16:53:56 +0000
commit923a70bbce21b9087f2aab9e9289872bf5065de5 (patch)
tree50d1fca00eeddbb38a5902c075c609bd75fc7506 /src
parenta8c0e34fc81c407990d2179bad10abfd2b38c97f (diff)
downloadrspamd-923a70bbce21b9087f2aab9e9289872bf5065de5.tar.gz
rspamd-923a70bbce21b9087f2aab9e9289872bf5065de5.zip
Revert "[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 1a6d10705..f2554ef93 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