mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 12:26:02 -04:00
Persist CreateRoom events to DB in a batch (#13800)
This commit is contained in:
parent
a2cf66a94d
commit
8ab16a92ed
12 changed files with 580 additions and 356 deletions
|
@ -734,7 +734,9 @@ class HomeserverTestCase(TestCase):
|
|||
event.internal_metadata.soft_failed = True
|
||||
|
||||
self.get_success(
|
||||
event_creator.handle_new_client_event(requester, event, context)
|
||||
event_creator.handle_new_client_event(
|
||||
requester, events_and_context=[(event, context)]
|
||||
)
|
||||
)
|
||||
|
||||
return event.event_id
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue