diff options
author | Dirk Klimpel <5740567+dklimpel@users.noreply.github.com> | 2021-11-19 20:39:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-19 19:39:46 +0000 |
commit | ea20937084903864865f76e22f67d27729f2d6dc (patch) | |
tree | 486725f126e3d59426d80f185da413a46c5da084 /docs/user_directory.md | |
parent | Fix checking whether a room can be published on creation. (#11392) (diff) | |
download | synapse-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 'docs/user_directory.md')
-rw-r--r-- | docs/user_directory.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/user_directory.md b/docs/user_directory.md index 07fe954891..c4794b04cf 100644 --- a/docs/user_directory.md +++ b/docs/user_directory.md @@ -6,9 +6,9 @@ on this particular server - i.e. ones which your account shares a room with, or who are present in a publicly viewable room present on the server. The directory info is stored in various tables, which can (typically after -DB corruption) get stale or out of sync. If this happens, for now the -solution to fix it is to execute the SQL [here](https://github.com/matrix-org/synapse/blob/master/synapse/storage/schema/main/delta/53/user_dir_populate.sql) -and then restart synapse. This should then start a background task to +DB corruption) get stale or out of sync. If this happens, for now the +solution to fix it is to use the [admin API](usage/administration/admin_api/background_updates.md#run) +and execute the job `regenerate_directory`. This should then start a background task to flush the current tables and regenerate the directory. Data model |