summary refs log tree commit diff
path: root/synapse/storage/events.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-05-31 15:46:36 +0100
committerErik Johnston <erik@matrix.org>2017-05-31 15:46:36 +0100
commit304880d18545b59a51c5d4b928e563c6d1514fdc (patch)
tree38c43a4062f1a283f3d689784fadaee2a6bfc0ea /synapse/storage/events.py
parentSplit out directory and search tables (diff)
downloadsynapse-304880d18545b59a51c5d4b928e563c6d1514fdc.tar.xz
Add stream change cache
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 dfb57f9d12..77861488d2 100644
--- a/synapse/storage/events.py
+++ b/synapse/storage/events.py
@@ -755,6 +755,10 @@ class EventsStore(SQLBaseStore):
                     ]
                 )
 
+                self._curr_state_delta_stream_cache.enttity_has_changed(
+                    room_id, max_stream_order,
+                )
+
                 # Invalidate the various caches
 
                 # Figure out the changes of membership to invalidate the