From 2ab69e081674596352f3fd4a2af874fad9abfdcf Mon Sep 17 00:00:00 2001 From: erikjohnston Date: Wed, 13 Dec 2023 15:42:43 +0000 Subject: deploy: 8613f7693ea284a023dc625c9a35b9ff482f5fd0 --- develop/workers.html | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'develop/workers.html') diff --git a/develop/workers.html b/develop/workers.html index 31f9ff458b..392247367b 100644 --- a/develop/workers.html +++ b/develop/workers.html @@ -124,10 +124,10 @@ - + - + @@ -204,8 +204,8 @@ virtualenv, these can be installed with:

pip install "matrix-synapse[redis]"
 

Note that these dependencies are included when synapse is installed with pip install matrix-synapse[all]. They are also included in the debian packages from -matrix.org and in the docker images at -https://hub.docker.com/r/matrixdotorg/synapse/.

+packages.matrix.org and in the docker images at +https://hub.docker.com/r/ectorim/synapse/.

To make effective use of the workers, you will need to configure an HTTP reverse-proxy such as nginx or haproxy, which will direct incoming requests to the correct worker, or to the main synapse instance. See @@ -230,7 +230,7 @@ file suitable for use with workers:

for the main process
  • Secondly, you need to enable redis-based replication
  • -
  • You will need to add an instance_map +
  • You will need to add an instance_map with the main process defined, as well as the relevant connection information from it's HTTP replication listener (defined in step 1 above).

    Note: The same worker can handle multiple streams, but unless otherwise documented, @@ -711,7 +711,7 @@ worker application type.

    Push Notifications

    You can designate generic worker to sending push notifications to a push gateway such as -sygnal and email.

    +sygnal and email.

    This will stop the main process sending push notifications.

    The workers responsible for sending push notifications can be defined using the pusher_instances -- cgit 1.5.1