summary refs log tree commit diff
path: root/tests/state
diff options
context:
space:
mode:
authorShay <hillerys@element.io>2022-09-28 02:39:03 -0700
committerGitHub <noreply@github.com>2022-09-28 10:39:03 +0100
commita2cf66a94d5dfd9d6496ac3e48ec9a22f17be69a (patch)
treebe6567b1d3c8e253df717bddf0a543b147fa39e9 /tests/state
parentFix `have_seen_event` cache not being invalidated (#13863) (diff)
downloadsynapse-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 'tests/state')
0 files changed, 0 insertions, 0 deletions