-
Notifications
You must be signed in to change notification settings - Fork 218
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: Make store requests in batch for Room::get_members
#2021
Conversation
142fead
to
587770c
Compare
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #2021 +/- ##
==========================================
+ Coverage 75.50% 75.98% +0.47%
==========================================
Files 151 151
Lines 16211 16550 +339
==========================================
+ Hits 12240 12575 +335
- Misses 3971 3975 +4
☔ View full report in Codecov by Sentry. |
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.
Excellent work, thank you for your time on this!
It looks good to me. Although a second review from @jplatte might not be superflous.
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.
Quick comment, might review more in-depth later.
Let's get the conflicts fixed and merge this, I haven't reviewed everything but since Ivan did and this PR even increases test coverage, I don't think I need to. |
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
Rebased on main and history cleaned up 🙂 |
Each commit can be viewed separately. The first commits add the methods to retrieve events in batch to the
StateStore
trait and the last one uses the new methods forRoom::get_members
.Should fix part of #1979. What is left is to be able to paginate to not request all the results at once.
Signed-off-by: Kévin Commaille zecakeh@tedomum.fr