diff options
author | Erik Johnston <erik@matrix.org> | 2015-05-05 18:15:20 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-05-05 18:15:20 +0100 |
commit | ed2584050f4dc1e09f7e29735bbf89686e0fe04d (patch) | |
tree | 0f71510eb24eb9168b48a7b5e0a5ae946a06685d /synapse/storage/event_federation.py | |
parent | Add a comment about the zip(*[zip(sorted(...),...)]) (diff) | |
parent | Use buffer(...) when inserting into bytea column (diff) | |
download | synapse-ed2584050f4dc1e09f7e29735bbf89686e0fe04d.tar.xz |
Merge branch 'develop' of github.com:matrix-org/synapse into erikj/executemany
Diffstat (limited to 'synapse/storage/event_federation.py')
-rw-r--r-- | synapse/storage/event_federation.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/synapse/storage/event_federation.py b/synapse/storage/event_federation.py index 36b1feac60..74b4e23590 100644 --- a/synapse/storage/event_federation.py +++ b/synapse/storage/event_federation.py @@ -332,7 +332,9 @@ class EventFederationStore(SQLBaseStore): ) txn.execute(query) - self.get_latest_event_ids_in_room.invalidate(room_id) + txn.call_after( + self.get_latest_event_ids_in_room.invalidate, room_id + ) def get_backfill_events(self, room_id, event_list, limit): """Get a list of Events for a given topic that occurred before (and |