diff options
author | Erik Johnston <erik@matrix.org> | 2015-08-10 13:47:45 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-08-10 13:47:45 +0100 |
commit | 8c3a62b5c75920acbbcdcfd889228160c2a60ef5 (patch) | |
tree | 33d85a573bceaa38e57d9032b0e0570f38afaf40 /synapse/storage/event_federation.py | |
parent | Merge pull request #212 from matrix-org/erikj/cache_deferreds (diff) | |
parent | Rename keyargs to args in CacheDescriptor (diff) | |
download | synapse-8c3a62b5c75920acbbcdcfd889228160c2a60ef5.tar.xz |
Merge pull request #215 from matrix-org/erikj/cache_varargs_interface
Change Cache to not use *args in its interface
Diffstat (limited to 'synapse/storage/event_federation.py')
-rw-r--r-- | synapse/storage/event_federation.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/storage/event_federation.py b/synapse/storage/event_federation.py index 45b86c94e8..910b6598a7 100644 --- a/synapse/storage/event_federation.py +++ b/synapse/storage/event_federation.py @@ -362,7 +362,7 @@ class EventFederationStore(SQLBaseStore): for room_id in events_by_room: txn.call_after( - self.get_latest_event_ids_in_room.invalidate, room_id + self.get_latest_event_ids_in_room.invalidate, (room_id,) ) def get_backfill_events(self, room_id, event_list, limit): @@ -505,4 +505,4 @@ class EventFederationStore(SQLBaseStore): query = "DELETE FROM event_forward_extremities WHERE room_id = ?" txn.execute(query, (room_id,)) - txn.call_after(self.get_latest_event_ids_in_room.invalidate, room_id) + txn.call_after(self.get_latest_event_ids_in_room.invalidate, (room_id,)) |