Do not proxy some endpoints to the generic Synapse worker

These endpoints should not be proxied to a generic Synapse worker
without other preparation (setting up stream writers, sending traffic
to a specific stream writer, etc.).

Disabling them for now. In the future, we'd like to fix up our awk
script to disable them automatically.

This is a fix up for 058fedff91
development
Slavi Pantaleev 3 years ago
parent 21d8327c48
commit 83b7fcee45

@ -75,19 +75,23 @@ matrix_synapse_workers_generic_worker_endpoints:
- ^/_matrix/client/(api/v1|r0|v3|unstable)/join/ - ^/_matrix/client/(api/v1|r0|v3|unstable)/join/
- ^/_matrix/client/(api/v1|r0|v3|unstable)/profile/ - ^/_matrix/client/(api/v1|r0|v3|unstable)/profile/
# Device requests # These appear to be conditional and should not be enabled by default.
- ^/_matrix/client/(r0|v3|unstable)/sendToDevice/ # We need to fix up our workers-doc-to-yaml.awk parsing script to exclude them.
# For now, they've been commented out manually.
# Account data requests #
- ^/_matrix/client/(r0|v3|unstable)/.*/tags # # Device requests
- ^/_matrix/client/(r0|v3|unstable)/.*/account_data # - ^/_matrix/client/(r0|v3|unstable)/sendToDevice/
# Receipts requests # # Account data requests
- ^/_matrix/client/(r0|v3|unstable)/rooms/.*/receipt # - ^/_matrix/client/(r0|v3|unstable)/.*/tags
- ^/_matrix/client/(r0|v3|unstable)/rooms/.*/read_markers # - ^/_matrix/client/(r0|v3|unstable)/.*/account_data
# Presence requests # # Receipts requests
- ^/_matrix/client/(api/v1|r0|v3|unstable)/presence/ # - ^/_matrix/client/(r0|v3|unstable)/rooms/.*/receipt
# - ^/_matrix/client/(r0|v3|unstable)/rooms/.*/read_markers
# # Presence requests
# - ^/_matrix/client/(api/v1|r0|v3|unstable)/presence/
# Additionally, the following REST endpoints can be handled for GET requests: # Additionally, the following REST endpoints can be handled for GET requests:

Loading…
Cancel
Save