commit c6981d8af7e0ac60507b6a55b67a4dcc2fa7b742 parent 435d74be9f6612b739bb1746201375bf72c6f29d Author: MTRNord <mtrnord1@gmail.com> Date: Tue, 15 Apr 2025 14:44:20 +0200 Set up proper history module Diffstat:
| M | apps/base/matrix/synapse/kustomization.yaml | | | 1 | + |
| A | apps/base/matrix/synapse/rspamd-config/local.d/history_redis.conf | | | 3 | +++ |
| M | apps/base/matrix/synapse/rspamd.yaml | | | 3 | +++ |
3 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/apps/base/matrix/synapse/kustomization.yaml b/apps/base/matrix/synapse/kustomization.yaml @@ -14,3 +14,4 @@ configMapGenerator: - classifier-bayes.conf=rspamd-config/local.d/classifier-bayes.conf - options.inc=rspamd-config/local.d/options.inc - worker-controller.inc=rspamd-config/local.d/worker-controller.inc + - history_redis.conf=rspamd-config/local.d/history_redis.conf diff --git a/apps/base/matrix/synapse/rspamd-config/local.d/history_redis.conf b/apps/base/matrix/synapse/rspamd-config/local.d/history_redis.conf @@ -0,0 +1,3 @@ +servers = matrix-synapse-keydb.matrix.svc.cluster.local:6379; # Redis server to store history +compress = true; # Use zstd compression when storing data in Redis +subject_privacy = false; diff --git a/apps/base/matrix/synapse/rspamd.yaml b/apps/base/matrix/synapse/rspamd.yaml @@ -57,6 +57,9 @@ spec: - name: rspamd-config mountPath: /etc/rspamd/local.d/worker-controller.inc subPath: worker-controller.inc + - name: rspamd-config + mountPath: /etc/rspamd/local.d/history_redis.conf + subPath: history_redis.conf volumes: - name: rspamd-matrix persistentVolumeClaim: