From 1f11b0dd86ad4ddf20ca495d78d595af82c2c54b Mon Sep 17 00:00:00 2001 From: reivilibre Date: Tue, 6 Dec 2022 13:36:59 +0000 Subject: deploy: a16931f30db35241e6618ddfb14fda2459b4476c --- latest/workers.html | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'latest/workers.html') diff --git a/latest/workers.html b/latest/workers.html index c66bc2f86f..3637bad17f 100644 --- a/latest/workers.html +++ b/latest/workers.html @@ -252,8 +252,8 @@ The currently available worker applications are listed worker_replication_http_port).
  • If handling HTTP requests, a worker_listeners option with an http listener.
  • -
  • If handling the ^/_matrix/client/v3/keys/upload endpoint, the HTTP URI for -the main process (worker_main_http_uri).
  • +
  • Synapse 1.72 and older: if handling the ^/_matrix/client/v3/keys/upload endpoint, the HTTP URI for +the main process (worker_main_http_uri). This config option is no longer required and is ignored when running Synapse 1.73 and newer.
  • For example:

    worker_app: synapse.app.generic_worker
    @@ -312,6 +312,7 @@ information.

    ^/_matrix/federation/(v1|v2)/send_leave/ ^/_matrix/federation/(v1|v2)/invite/ ^/_matrix/federation/v1/event_auth/ +^/_matrix/federation/v1/timestamp_to_event/ ^/_matrix/federation/v1/exchange_third_party_invite/ ^/_matrix/federation/v1/user/devices/ ^/_matrix/key/v2/query @@ -339,10 +340,10 @@ information.

    ^/_matrix/client/(api/v1|r0|v3|unstable)/voip/turnServer$ ^/_matrix/client/(api/v1|r0|v3|unstable)/rooms/.*/event/ ^/_matrix/client/(api/v1|r0|v3|unstable)/joined_rooms$ +^/_matrix/client/v1/rooms/.*/timestamp_to_event$ ^/_matrix/client/(api/v1|r0|v3|unstable)/search$ # Encryption requests -# Note that ^/_matrix/client/(r0|v3|unstable)/keys/upload/ requires `worker_main_http_uri` ^/_matrix/client/(r0|v3|unstable)/keys/query$ ^/_matrix/client/(r0|v3|unstable)/keys/changes$ ^/_matrix/client/(r0|v3|unstable)/keys/claim$ @@ -496,7 +497,7 @@ responsible for

  • persisting them to the DB, and finally
  • updating the events stream.
  • -

    Because load is sharded in this way, you must restart all worker instances when +

    Because load is sharded in this way, you must restart all worker instances when adding or removing event persisters.

    An event_persister should not be mistaken for an event_creator. An event_creator listens for requests from clients to create new events and does -- cgit 1.5.1