mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-26 03:25:53 +03:00
a2cf66a94d
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.
1 line
31 B
Text
1 line
31 B
Text
Speed up creation of DM rooms.
|