summary refs log tree commit diff
path: root/synapse/storage/events.py
diff options
context:
space:
mode:
authorMatthew Hodgson <matthew@matrix.org>2018-09-07 15:58:39 +0100
committerMatthew Hodgson <matthew@matrix.org>2018-09-07 15:58:39 +0100
commit119b8b63d3d066f8d25e550c779f110f98a958f5 (patch)
tree6bf9436e30d2fb2c1324edfd5f84c0364940b53a /synapse/storage/events.py
parentchangelog (diff)
downloadsynapse-119b8b63d3d066f8d25e550c779f110f98a958f5.tar.xz
wip for speeding up room summaries
Diffstat (limited to 'synapse/storage/events.py')
-rw-r--r--synapse/storage/events.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/synapse/storage/events.py b/synapse/storage/events.py

index 8bf87f38f7..30ff87a4c4 100644 --- a/synapse/storage/events.py +++ b/synapse/storage/events.py
@@ -930,6 +930,10 @@ class EventsStore(EventFederationStore, EventsWorkerStore, BackgroundUpdateStore ) self._invalidate_cache_and_stream( + txn, self.get_room_summary, (room_id,) + ) + + self._invalidate_cache_and_stream( txn, self.get_current_state_ids, (room_id,) )