summary refs log tree commit diff
path: root/synapse/storage/events.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-03-20 16:02:47 +0000
committerErik Johnston <erik@matrix.org>2015-03-20 16:02:47 +0000
commit9517f4da4dfd8bef22a0f6f19a5593617c769a44 (patch)
tree9896aae63afd7e60694c04248a4e1dc75b60ca8f /synapse/storage/events.py
parentGive sensible names for '_simple_...' transactions (diff)
parentAdd the tiniest of tiny one-element caches to get_room_events_max_id() as it'... (diff)
downloadsynapse-9517f4da4dfd8bef22a0f6f19a5593617c769a44.tar.xz
Merge branch 'develop' of github.com:matrix-org/synapse into store_rearrangement
Diffstat (limited to 'synapse/storage/events.py')
-rw-r--r--synapse/storage/events.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/storage/events.py b/synapse/storage/events.py
index b295dc5b27..a86230d92c 100644
--- a/synapse/storage/events.py
+++ b/synapse/storage/events.py
@@ -52,6 +52,7 @@ class EventsStore(SQLBaseStore):
                 is_new_state=is_new_state,
                 current_state=current_state,
             )
+            self.get_room_events_max_id.invalidate()
         except _RollbackButIsFineException:
             pass