File tree Expand file tree Collapse file tree
charts/matrix-stack/configs/synapse Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,7 +9,25 @@ SPDX-License-Identifier: AGPL-3.0-only
99# A map file that is used in haproxy config to map from matrix paths to the
1010# named backend. The format is: path_regexp backend_name
1111{{ if dig " client-reader" " enabled" false $root .Values.synapse.workers }}
12- ^/_matrix/client/(api/v1| r0| v3| unstable)/pushrules/ client-reader
12+ {{- /*
13+ The client-reader worker could also support the following GET requests
14+ when the related workers are not enabled. To keep things simple, we don't support
15+ this optimization here and we invite the chart user to directly deploy the related
16+ workers instead if these requests path are under high load.
17+
18+ # push-rules
19+ ^/\_matrix/client/(api/v1|r0|v3|unstable)/pushrules/
20+
21+ # receipts-account
22+ ^/\_matrix/client/(r0|v3|unstable)/._/tags
23+ ^/\_matrix/client/(r0|v3|unstable)/._/account\_data
24+
25+ # presence
26+ ^/\_matrix/client/(api/v1|r0|v3|unstable)/presence/
27+
28+ To keep things simple
29+
30+ */ -}}
1331^/_matrix/client/unstable/org.matrix.msc4140 /delayed_events client-reader
1432^/_matrix/client/(api/v1| r0| v3| unstable)/devices/ client-reader
1533{{- end }}
You can’t perform that action at this time.
0 commit comments