summary refs log tree commit diff
path: root/develop/workers.html
diff options
context:
space:
mode:
authorerikjohnston <erikjohnston@users.noreply.github.com>2022-03-23 12:47:39 +0000
committererikjohnston <erikjohnston@users.noreply.github.com>2022-03-23 12:47:39 +0000
commit2a7934b7d0573006cc0bef3b447cb3c54d3d70e0 (patch)
treebdffe8c1fdf1375bb99995612d250aea1b5f491d /develop/workers.html
parentdeploy: 6b26536a52f77aa5573b4d2afedae448fac31b7c (diff)
downloadsynapse-2a7934b7d0573006cc0bef3b447cb3c54d3d70e0.tar.xz
deploy: c5776780f0621eb9440277cfd9ffd41b1443f34e
Diffstat (limited to '')
-rw-r--r--develop/workers.html9
1 files changed, 8 insertions, 1 deletions
diff --git a/develop/workers.html b/develop/workers.html
index 065eafa95e..047547b34e 100644
--- a/develop/workers.html
+++ b/develop/workers.html
@@ -597,9 +597,16 @@ and you must configure a single instance to run the background tasks, e.g.:</p>
 the following regular expressions:</p>
 <pre><code>^/_matrix/client/(r0|v3|unstable)/user_directory/search$
 </code></pre>
-<p>When using this worker you must also set <code>update_user_directory: False</code> in the
+<p>When using this worker you must also set <code>update_user_directory: false</code> in the
 shared configuration file to stop the main synapse running background
 jobs related to updating the user directory.</p>
+<p>Above endpoint is not <em>required</em> to be routed to this worker. By default,
+<code>update_user_directory</code> is set to <code>true</code>, which means the main process
+will handle updates. All workers configured with <code>client</code> can handle the above
+endpoint as long as either this worker or the main process are configured to
+handle it, and are online.</p>
+<p>If <code>update_user_directory</code> is set to <code>false</code>, and this worker is not running,
+the above endpoint may give outdated results.</p>
 <h3 id="synapseappfrontend_proxy"><a class="header" href="#synapseappfrontend_proxy"><code>synapse.app.frontend_proxy</code></a></h3>
 <p>Proxies some frequently-requested client endpoints to add caching and remove
 load from the main synapse. It can handle REST endpoints matching the following