mirror of
https://github.com/element-hq/ess-helm.git
synced 2026-12-04 15:52:31 -08:00
Merge pull request #889 from element-hq/bbz/tweak-delayed-events-routing
Be clearer about routing the delayed_events GET request
This commit is contained in:
3 files changed
+6
-3
No files matched your search
@@ -9,7 +9,6 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||
|
||||
# A map file that is used in haproxy config to map from matrix paths to the
|
||||
# named backend. The format is: path_regexp backend_name
|
||||
{{ if dig "client-reader" "enabled" false $root.Values.synapse.workers }}
|
||||
{{- /*
|
||||
The client-reader worker could also support the following GET requests
|
||||
when the related workers are not enabled. To keep things simple, we don't support
|
||||
@@ -26,5 +25,3 @@ workers instead if these requests path are under high load.
|
||||
# presence
|
||||
^/\_matrix/client/(api/v1|r0|v3|unstable)/presence/
|
||||
*/}}
|
||||
^/_matrix/client/unstable/org.matrix.msc4140/delayed_events client-reader
|
||||
{{- end }}
|
||||
@@ -228,6 +228,7 @@ responsibleForMedia
|
||||
"^/_matrix/client/(api/v1|r0|v3|unstable)/directory/room/.*$"
|
||||
"^/_matrix/client/(r0|v3|unstable)/capabilities$"
|
||||
"^/_matrix/client/(r0|v3|unstable)/notifications$"
|
||||
"^/_matrix/client/unstable/org.matrix.msc4140/delayed_events$"
|
||||
"^/_synapse/admin/v1/rooms/[^/]+$"
|
||||
) }}
|
||||
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
Better handle the only worker-capable delayed-events endpoint.
|
||||
|
||||
`^/_matrix/client/unstable/org.matrix.msc4140/delayed_events$` only handles `GET`
|
||||
so this is clearer rather than relying on `path_map_file_get.tpl`. This is a slight
|
||||
divergence from the docs for now but should be addressed soon.
|
||||
Reference in new issue
Block a user