mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-04 01:54:10 -04:00
Don't pull out the full state when calculating push actions (#13078)
This commit is contained in:
parent
bc8eefc1e1
commit
e5716b631c
7 changed files with 164 additions and 344 deletions
|
@ -709,7 +709,7 @@ class RoomsCreateTestCase(RoomBase):
|
|||
self.assertEqual(200, channel.code, channel.result)
|
||||
self.assertTrue("room_id" in channel.json_body)
|
||||
assert channel.resource_usage is not None
|
||||
self.assertEqual(33, channel.resource_usage.db_txn_count)
|
||||
self.assertEqual(37, channel.resource_usage.db_txn_count)
|
||||
|
||||
def test_post_room_initial_state(self) -> None:
|
||||
# POST with initial_state config key, expect new room id
|
||||
|
@ -722,7 +722,7 @@ class RoomsCreateTestCase(RoomBase):
|
|||
self.assertEqual(200, channel.code, channel.result)
|
||||
self.assertTrue("room_id" in channel.json_body)
|
||||
assert channel.resource_usage is not None
|
||||
self.assertEqual(37, channel.resource_usage.db_txn_count)
|
||||
self.assertEqual(41, channel.resource_usage.db_txn_count)
|
||||
|
||||
def test_post_room_visibility_key(self) -> None:
|
||||
# POST with visibility config key, expect new room id
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue