Sfoglia il codice sorgente

Merge pull request #1250 from wol-win/worker_trial

Endpoint changes for Client and media API due to migration to 1.41.0
pull/1251/head
Slavi Pantaleev 4 anni fa
committed by GitHub
parent
commit
bb0e59de48
Non sono state trovate chiavi note per questa firma nel database ID Chiave GPG: 4AEE18F83AFDEB23
1 ha cambiato i file con 4 aggiunte e 1 eliminazioni
  1. +4
    -1
      roles/matrix-synapse/vars/workers.yml

+ 4
- 1
roles/matrix-synapse/vars/workers.yml Vedi File

@@ -37,6 +37,7 @@ matrix_synapse_workers_generic_worker_endpoints:
- ^/_matrix/federation/v1/send/

# Client API requests
- ^/_matrix/client/(api/v1|r0|unstable)/createRoom$
- ^/_matrix/client/(api/v1|r0|unstable)/publicRooms$
- ^/_matrix/client/(api/v1|r0|unstable)/rooms/.*/joined_members$
- ^/_matrix/client/(api/v1|r0|unstable)/rooms/.*/context/.*$
@@ -253,10 +254,12 @@ matrix_synapse_workers_media_repository_endpoints:
- ^/_synapse/admin/v1/user/.*/media.*$
- ^/_synapse/admin/v1/media/.*$
- ^/_synapse/admin/v1/quarantine_media/.*$
- ^/_synapse/admin/v1/users/.*/media$

# You should also set `enable_media_repo: False` in the shared configuration
# file to stop the main synapse running background jobs related to managing the
# media repository.
# media repository. Note that doing so will prevent the main process from being
# able to handle the above endpoints.

# In the `media_repository` worker configuration file, configure the http listener to
# expose the `media` resource. For example:


Caricamento…
Annulla
Salva