From 108ab6bdbb4a485e854e7d0f2912763d503d167f Mon Sep 17 00:00:00 2001 From: reivilibre Date: Thu, 11 May 2023 10:33:40 +0000 Subject: deploy: e4f545c452df817daa2f22dfda906f3451d98351 --- develop/usage/configuration/config_documentation.html | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) (limited to 'develop/usage/configuration/config_documentation.html') diff --git a/develop/usage/configuration/config_documentation.html b/develop/usage/configuration/config_documentation.html index 109626bc53..7a1f552f67 100644 --- a/develop/usage/configuration/config_documentation.html +++ b/develop/usage/configuration/config_documentation.html @@ -3477,13 +3477,17 @@ events may be dropped).


instance_map

When using workers this should be a map from worker_name to the -HTTP replication listener of the worker, if configured. +HTTP replication listener of the worker, if configured, and to the main process. Each worker declared under stream_writers needs a HTTP replication listener, and that listener should be included in the instance_map. -(The main process also needs an HTTP replication listener, but it should not be -listed in the instance_map.)

+The main process also needs an entry on the instance_map, and it should be listed under +main if even one other worker exists. Ensure the port matches with what is declared +inside the listener block for a replication listener.

Example configuration:

instance_map:
+  main:
+    host: localhost
+    port: 8030
   worker1:
     host: localhost
     port: 8034
@@ -3589,6 +3593,7 @@ giving each worker a unique worker_name.


worker_replication_host

+

Deprecated as of version 1.84.0. Place host under main entry on the instance_map in your shared yaml configuration instead.

The HTTP replication endpoint that it should talk to on the main Synapse process. The main Synapse process defines this with a replication resource in listeners option.

@@ -3597,6 +3602,7 @@ The main Synapse process defines this with a replication resource i

worker_replication_http_port

+

Deprecated as of version 1.84.0. Place port under main entry on the instance_map in your shared yaml configuration instead.

The HTTP replication port that it should talk to on the main Synapse process. The main Synapse process defines this with a replication resource in listeners option.

@@ -3605,6 +3611,7 @@ The main Synapse process defines this with a replication resource i

worker_replication_http_tls

+

Deprecated as of version 1.84.0. Place tls under main entry on the instance_map in your shared yaml configuration instead.

Whether TLS should be used for talking to the HTTP replication port on the main Synapse process. The main Synapse process defines this with the tls option on its listener that @@ -3622,9 +3629,9 @@ See worker_replication_secret<

A worker can handle HTTP requests. To do so, a worker_listeners option must be declared, in the same way as the listeners option in the shared config.

-

Workers declared in stream_writers will need to include a -replication listener here, in order to accept internal HTTP requests from -other workers.

+

Workers declared in stream_writers and instance_map +will need to include a replication listener here, in order to accept internal HTTP +requests from other workers.

Example configuration:

worker_listeners:
   - type: http
-- 
cgit 1.5.1