docs/workers.md: Add ^/_matrix/federation/v1/event/ to list of delegatable endpoints (#18377)
This commit is contained in:
1
changelog.d/18377.doc
Normal file
1
changelog.d/18377.doc
Normal file
@@ -0,0 +1 @@
|
|||||||
|
Add `/_matrix/federation/v1/version` to list of federation endpoints that can be handled by workers.
|
||||||
@@ -202,6 +202,7 @@ WORKERS_CONFIG: Dict[str, Dict[str, Any]] = {
|
|||||||
"app": "synapse.app.generic_worker",
|
"app": "synapse.app.generic_worker",
|
||||||
"listener_resources": ["federation"],
|
"listener_resources": ["federation"],
|
||||||
"endpoint_patterns": [
|
"endpoint_patterns": [
|
||||||
|
"^/_matrix/federation/v1/version$",
|
||||||
"^/_matrix/federation/(v1|v2)/event/",
|
"^/_matrix/federation/(v1|v2)/event/",
|
||||||
"^/_matrix/federation/(v1|v2)/state/",
|
"^/_matrix/federation/(v1|v2)/state/",
|
||||||
"^/_matrix/federation/(v1|v2)/state_ids/",
|
"^/_matrix/federation/(v1|v2)/state_ids/",
|
||||||
|
|||||||
@@ -117,6 +117,16 @@ each upgrade are complete before moving on to the next upgrade, to avoid
|
|||||||
stacking them up. You can monitor the currently running background updates with
|
stacking them up. You can monitor the currently running background updates with
|
||||||
[the Admin API](usage/administration/admin_api/background_updates.html#status).
|
[the Admin API](usage/administration/admin_api/background_updates.html#status).
|
||||||
|
|
||||||
|
# Upgrading to v1.130.0
|
||||||
|
|
||||||
|
## Documented endpoint which can be delegated to a federation worker
|
||||||
|
|
||||||
|
The endpoint `^/_matrix/federation/v1/version$` can be delegated to a federation
|
||||||
|
worker. This is not new behaviour, but had not been documented yet. The
|
||||||
|
[list of delegatable endpoints](workers.md#synapseappgeneric_worker) has
|
||||||
|
been updated to include it. Make sure to check your reverse proxy rules if you
|
||||||
|
are using workers.
|
||||||
|
|
||||||
# Upgrading to v1.126.0
|
# Upgrading to v1.126.0
|
||||||
|
|
||||||
## Room list publication rules change
|
## Room list publication rules change
|
||||||
|
|||||||
@@ -200,6 +200,7 @@ information.
|
|||||||
^/_matrix/client/(api/v1|r0|v3)/rooms/[^/]+/initialSync$
|
^/_matrix/client/(api/v1|r0|v3)/rooms/[^/]+/initialSync$
|
||||||
|
|
||||||
# Federation requests
|
# Federation requests
|
||||||
|
^/_matrix/federation/v1/version$
|
||||||
^/_matrix/federation/v1/event/
|
^/_matrix/federation/v1/event/
|
||||||
^/_matrix/federation/v1/state/
|
^/_matrix/federation/v1/state/
|
||||||
^/_matrix/federation/v1/state_ids/
|
^/_matrix/federation/v1/state_ids/
|
||||||
|
|||||||
Reference in New Issue
Block a user