Fix user directory background update (#4887)

This commit is contained in:
Erik Johnston 2019-03-19 11:13:53 +00:00 committed by Amber Brown
parent d2a537ea60
commit e9eeca1314
2 changed files with 2 additions and 1 deletions

1
changelog.d/4887.feature Normal file
View File

@ -0,0 +1 @@
The user directory has been rewritten to make it faster, with less chance of falling behind on a large server.

View File

@ -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 all users, if search_all_users is on
INSERT INTO background_updates (update_name, progress_json, depends_on) VALUES 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 -- Clean up staging tables
INSERT INTO background_updates (update_name, progress_json, depends_on) VALUES INSERT INTO background_updates (update_name, progress_json, depends_on) VALUES