diff options
author | Shay <hillerys@element.io> | 2022-09-28 02:39:03 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-28 10:39:03 +0100 |
commit | a2cf66a94d5dfd9d6496ac3e48ec9a22f17be69a (patch) | |
tree | be6567b1d3c8e253df717bddf0a543b147fa39e9 /synapse/handlers/push_rules.py | |
parent | Fix `have_seen_event` cache not being invalidated (#13863) (diff) | |
download | synapse-a2cf66a94d5dfd9d6496ac3e48ec9a22f17be69a.tar.xz |
Prepatory work for batching events to send (#13487)
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.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions