summary refs log tree commit diff
path: root/develop/workers.html
diff options
context:
space:
mode:
authorsquahtx <squahtx@users.noreply.github.com>2022-05-19 11:03:50 +0000
committersquahtx <squahtx@users.noreply.github.com>2022-05-19 11:03:50 +0000
commit131e5b46b39b00a15035321bc5c32f66a6091c47 (patch)
tree9f5b778d543674be8ab32f7d0182883e35f79727 /develop/workers.html
parentdeploy: 5675cebfaa511b6a93db15dd3db3b7f27ce0677a (diff)
downloadsynapse-131e5b46b39b00a15035321bc5c32f66a6091c47.tar.xz
deploy: 47619017f97e04733e2a2fe511d6865d0294f063
Diffstat (limited to '')
-rw-r--r--develop/workers.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/develop/workers.html b/develop/workers.html
index ef2c928300..a50e4ca3b6 100644
--- a/develop/workers.html
+++ b/develop/workers.html
@@ -364,6 +364,9 @@ information.</p>
 
 # Presence requests
 ^/_matrix/client/(api/v1|r0|v3|unstable)/presence/
+
+# User directory search requests
+^/_matrix/client/(r0|v3|unstable)/user_directory/search$
 </code></pre>
 <p>Additionally, the following REST endpoints can be handled for GET requests:</p>
 <pre><code>^/_matrix/federation/v1/groups/
@@ -539,6 +542,12 @@ worker_log_config: /etc/matrix-synapse/background-worker-log.yaml
 </code></pre>
 <p>This work cannot be load-balanced; please ensure the main process is restarted
 after setting this option in the shared configuration!</p>
+<p>User directory updates allow REST endpoints matching the following regular
+expressions to work:</p>
+<pre><code>^/_matrix/client/(r0|v3|unstable)/user_directory/search$
+</code></pre>
+<p>The above endpoints can be routed to any worker, though you may choose to route
+it to the chosen user directory worker.</p>
 <p>This style of configuration supersedes the legacy <code>synapse.app.user_dir</code>
 worker application type.</p>
 <h4 id="notifying-application-services"><a class="header" href="#notifying-application-services">Notifying Application Services</a></h4>