This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Optimise get_rooms_for_user (drop with_stream_ordering) #13787
Merged
erikjohnston
merged 17 commits into
matrix-org:develop
from
beeper:optimise-get-rooms-for-user
Sep 29, 2022
Merged
Changes from 1 commit
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
1008106
Reimplement `get_rooms_for_user` and `get_rooms_for_users`
Fizzadar c98bbfc
Replace calls to `get_rooms_for_users_with_stream_ordering`
Fizzadar 7210fa1
Drop unused `get_rooms_for_users_with_stream_ordering` method
Fizzadar 7719d9c
Drop simplified cache in sync tests
Fizzadar b745518
Linting fixes
Fizzadar 661e7cf
Fix call to `get_immediate`
Fizzadar 3df4579
Add placeholder changelog file
Fizzadar 0497004
Fix formatting
Fizzadar 7e127f8
Don't overwrite variable
Fizzadar b97ae86
Merge branch 'develop' into optimise-get-rooms-for-user
Fizzadar 7512017
Remove blank changelog line
Fizzadar 21c8e8d
Use `simple_select_many_batch` in `get_rooms_for_users`
Fizzadar 9907aaa
Use `simple_select_onecol` in `get_rooms_for_user`
Fizzadar ff3ae7e
Merge branch 'develop' into optimise-get-rooms-for-user
Fizzadar 4da7073
Fixed merge formatting
Fizzadar bd70af9
Fix `current_state_events` column name
Fizzadar 7b0e311
Always ensure we return a value for every user in `get_rooms_for_users`
Fizzadar File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Linting fixes
- Loading branch information
commit b745518c475060f223769665b787932642eae07b
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We may as well just use
simple_select_onecol
here?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
9907aaa