mirror of
https://github.com/1f349/dendrite.git
synced 2024-12-24 01:04:14 +00: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 |