diff options
author | Olivier Wilkinson (reivilibre) <oliverw@matrix.org> | 2023-02-17 17:56:50 +0000 |
---|---|---|
committer | Olivier Wilkinson (reivilibre) <oliverw@matrix.org> | 2023-03-16 11:45:51 +0000 |
commit | d49f230249e6052afe23be358b22e59b5dace157 (patch) | |
tree | a86f58b4052bd6436f2b7a07fbf11873c7937556 /synapse | |
parent | When we start populating the user directory, clear out the old tables first i... (diff) | |
download | synapse-d49f230249e6052afe23be358b22e59b5dace157.tar.xz |
When rebuilding user dir, schedule the new task
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/rest/admin/background_updates.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/synapse/rest/admin/background_updates.py b/synapse/rest/admin/background_updates.py index 93a78db811..a36bb1f8f1 100644 --- a/synapse/rest/admin/background_updates.py +++ b/synapse/rest/admin/background_updates.py @@ -138,10 +138,15 @@ class BackgroundUpdateStartJobRestServlet(RestServlet): "populate_user_directory_process_rooms", ), ( - "populate_user_directory_cleanup", + "populate_user_directory_process_remote_users", "{}", "populate_user_directory_process_users", ), + ( + "populate_user_directory_cleanup", + "{}", + "populate_user_directory_process_remote_users", + ), ] else: raise SynapseError(HTTPStatus.BAD_REQUEST, "Invalid job_name") |