diff options
author | MadLittleMods <MadLittleMods@users.noreply.github.com> | 2023-07-11 18:09:05 +0000 |
---|---|---|
committer | MadLittleMods <MadLittleMods@users.noreply.github.com> | 2023-07-11 18:09:05 +0000 |
commit | ad01c39914eb78e2c9007a94d6f91d4885ab9752 (patch) | |
tree | b3f24df33cb372b082092537322180ffb116a65e /develop/workers.html | |
parent | deploy: 7c7bd9898b071385400ef2e083ae0b85c4935242 (diff) | |
download | synapse-ad01c39914eb78e2c9007a94d6f91d4885ab9752.tar.xz |
deploy: 224ef0b669fdd85925d66deb38ba1b51c5aaa1bd
Diffstat (limited to '')
-rw-r--r-- | develop/workers.html | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/develop/workers.html b/develop/workers.html index 69b16be88e..d55322007f 100644 --- a/develop/workers.html +++ b/develop/workers.html @@ -218,9 +218,15 @@ for the main process</li> <li>Secondly, you need to enable <a href="usage/configuration/config_documentation.html#redis">redis-based replication</a></li> <li>You will need to add an <a href="usage/configuration/config_documentation.html#instance_map"><code>instance_map</code></a> -with the <code>main</code> process defined, as well as the relevant connection information from -it's HTTP <code>replication</code> listener (defined in step 1 above). Note that the <code>host</code> defined -is the address the worker needs to look for the <code>main</code> process at, not necessarily the same address that is bound to.</li> +with the <code>main</code> process defined, as well as the relevant connection information from +it's HTTP <code>replication</code> listener (defined in step 1 above). +<ul> +<li>Note that the <code>host</code> defined is the address the worker needs to look for the <code>main</code> +process at, not necessarily the same address that is bound to.</li> +<li>If you are using Unix sockets for the <code>replication</code> resource, make sure to +use a <code>path</code> to the socket file instead of a <code>port</code>.</li> +</ul> +</li> <li>Optionally, a <a href="usage/configuration/config_documentation.html#worker_replication_secret">shared secret</a> can be used to authenticate HTTP traffic between workers. For example:</li> </ul> |