mirror of
https://github.com/matrix-org/dendrite.git
synced 2024-11-25 15:51:55 -06:00
00217a69d1
This refactors `PDUStreamProvider` a bit so that it doesn't trigger a database query per room, but instead utilizes the fact that it's possible to bulk query. This improves sync performance significantly when you have 1000s of rooms. ### Pull Request Checklist <!-- Please read https://matrix-org.github.io/dendrite/development/contributing before submitting your pull request --> * [x] I have added Go unit tests or [Complement integration tests](https://github.com/matrix-org/complement) for this PR _or_ I have justified why this PR doesn't need tests * [x] Pull request includes a [sign off below using a legally identifiable name](https://matrix-org.github.io/dendrite/development/contributing#sign-off) _or_ I have already signed off privately Signed-off-by: `Joakim Recht <joakim@beyondwork.ai>` |
||
---|---|---|
.. | ||
stream_accountdata.go | ||
stream_devicelist.go | ||
stream_invite.go | ||
stream_notificationdata.go | ||
stream_pdu.go | ||
stream_presence.go | ||
stream_receipt.go | ||
stream_sendtodevice.go | ||
stream_typing.go | ||
streamprovider.go | ||
streams.go | ||
template_stream.go |