summary refs log tree commit diff
path: root/synapse/config
diff options
context:
space:
mode:
authorDirk Klimpel <5740567+dklimpel@users.noreply.github.com>2021-11-19 20:39:46 +0100
committerGitHub <noreply@github.com>2021-11-19 19:39:46 +0000
commitea20937084903864865f76e22f67d27729f2d6dc (patch)
tree486725f126e3d59426d80f185da413a46c5da084 /synapse/config
parentFix checking whether a room can be published on creation. (#11392) (diff)
downloadsynapse-ea20937084903864865f76e22f67d27729f2d6dc.tar.xz
Add an admin API to run background jobs. (#11352)
Instead of having admins poke into the database directly.

Can currently run jobs to populate stats and to populate
the user directory.
Diffstat (limited to 'synapse/config')
-rw-r--r--synapse/config/user_directory.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/config/user_directory.py b/synapse/config/user_directory.py
index 2552f688d0..6d6678c7e4 100644
--- a/synapse/config/user_directory.py
+++ b/synapse/config/user_directory.py
@@ -53,8 +53,8 @@ class UserDirectoryConfig(Config):
             # indexes were (re)built was before Synapse 1.44, you'll have to
             # rebuild the indexes in order to search through all known users.
             # These indexes are built the first time Synapse starts; admins can
-            # manually trigger a rebuild following the instructions at
-            #     https://matrix-org.github.io/synapse/latest/user_directory.html
+            # manually trigger a rebuild via API following the instructions at
+            #     https://matrix-org.github.io/synapse/latest/usage/administration/admin_api/background_updates.html#run
             #
             # Uncomment to return search results containing all known users, even if that
             # user does not share a room with the requester.