mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-05 14:24:56 -04:00
Improve performance of getting unread counts in rooms (#13119)
This commit is contained in:
parent
cdc0259449
commit
92a0c18ef0
6 changed files with 40 additions and 4 deletions
|
@ -86,6 +86,8 @@ class EventPushActionsStoreTestCase(HomeserverTestCase):
|
|||
event.internal_metadata.is_outlier.return_value = False
|
||||
event.depth = stream
|
||||
|
||||
self.store._events_stream_cache.entity_has_changed(room_id, stream)
|
||||
|
||||
self.get_success(
|
||||
self.store.db_pool.simple_insert(
|
||||
table="events",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue