]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
[Conf] Add Redis backend example to hs_helper worker config
authorVsevolod Stakhov <vsevolod@rspamd.com>
Sun, 11 Jan 2026 15:04:28 +0000 (15:04 +0000)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Sun, 11 Jan 2026 15:04:28 +0000 (15:04 +0000)
conf/worker-hs_helper.inc

index e204531b7760277085dbf240f91987ee6e74b65c..23155d8d75cfc131c36d6e2efccf63d87c51c979 100644 (file)
 # Cache backend: file (default), redis, http, or lua
 # cache_backend = "file";
 
+# Redis backend example:
+# cache_backend = "redis";
+# redis {
+#   servers = "127.0.0.1:6379";
+#   prefix = "rspamd_zhs";
+#   ttl = 2592000;  # 30 days
+#   compression = true;
+# }
+
 # Maximum time allowed for compiling a single expression (seconds)
 # timeout = 1.0;