This commit is contained in:
H. Shay 2024-11-05 11:52:33 -08:00
parent ea44779bb7
commit 9a49bea3af
2 changed files with 12 additions and 0 deletions

View file

@ -534,6 +534,8 @@ Valid resource names are:
for [workers](../../workers.md) and containers without listener e.g. for [workers](../../workers.md) and containers without listener e.g.
[application services](../../workers.md#notifying-application-services). [application services](../../workers.md#notifying-application-services).
* `admin`: the admin API (/_synapse/admin)
Example configuration #1: Example configuration #1:
```yaml ```yaml
listeners: listeners:

View file

@ -329,6 +329,16 @@ with `client` and `federation` `resources` must be configured in the
[`worker_listeners`](usage/configuration/config_documentation.md#worker_listeners) [`worker_listeners`](usage/configuration/config_documentation.md#worker_listeners)
option in the worker config. option in the worker config.
The following admin APIs are now available to be handled by workers, with more forthcoming:
# Admin APIs
"^/_synapse/admin/v2/rooms/.*$"
Note that a [HTTP listener](usage/configuration/config_documentation.md#listeners)
with `admin` and `replication `resources` must be configured in the
[`worker_listeners`](usage/configuration/config_documentation.md#worker_listeners)
option in the worker config.
#### Load balancing #### Load balancing
It is possible to run multiple instances of this worker app, with incoming requests It is possible to run multiple instances of this worker app, with incoming requests