mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-09-01 17:41:55 +00:00
![Shay](/assets/img/avatar_default.png)
This PR begins work on batching up events during the creation of a room. The PR splits out the creation and sending/persisting of the events. The first three events in the creation of the room-creating the room, joining the creator to the room, and the power levels event are sent sequentially, while the subsequent events are created and collected to be sent at the end of the function. This is currently done by appending them to a list and then iterating over the list to send, the next step (after this PR) would be to send and persist the collected events as a batch.
2 lines
31 B
Plaintext
2 lines
31 B
Plaintext
Speed up creation of DM rooms.
|