summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erikj@jki.re>2019-03-19 11:13:53 +0000
committerAmber Brown <hawkowl@atleastfornow.net>2019-03-19 22:13:53 +1100
commite9eeca1314b1e5b29d155d664faa5e818169183a (patch)
treeee1390d91234417fa3160c776601fc5fd34a3a8f
parentMerge remote-tracking branch 'origin/master' into develop (diff)
downloadsynapse-e9eeca1314b1e5b29d155d664faa5e818169183a.tar.xz
Fix user directory background update (#4887)
Diffstat (limited to '')
-rw-r--r--changelog.d/4887.feature1
-rw-r--r--synapse/storage/schema/delta/53/user_dir_populate.sql2
2 files changed, 2 insertions, 1 deletions
diff --git a/changelog.d/4887.feature b/changelog.d/4887.feature
new file mode 100644
index 0000000000..e7ff0b9297
--- /dev/null
+++ b/changelog.d/4887.feature
@@ -0,0 +1 @@
+The user directory has been rewritten to make it faster, with less chance of falling behind on a large server. 
diff --git a/synapse/storage/schema/delta/53/user_dir_populate.sql b/synapse/storage/schema/delta/53/user_dir_populate.sql
index 955b8fdbd6..ffcc896b58 100644
--- a/synapse/storage/schema/delta/53/user_dir_populate.sql
+++ b/synapse/storage/schema/delta/53/user_dir_populate.sql
@@ -23,7 +23,7 @@ INSERT INTO background_updates (update_name, progress_json, depends_on) VALUES
 
 -- Insert all users, if search_all_users is on
 INSERT INTO background_updates (update_name, progress_json, depends_on) VALUES
-    ('populate_user_directory_process_users', '{}', 'populate_user_directory_rooms');
+    ('populate_user_directory_process_users', '{}', 'populate_user_directory_process_rooms');
 
 -- Clean up staging tables
 INSERT INTO background_updates (update_name, progress_json, depends_on) VALUES