summary refs log tree commit diff
path: root/synapse/util/caches
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-01-28 15:02:37 +0000
committerErik Johnston <erik@matrix.org>2016-01-28 15:02:41 +0000
commite1941442d442fe62570551071edfd936304697e7 (patch)
treed0472b1d793fbb5942eb27fbd37e9d400c0aa742 /synapse/util/caches
parentMerge branch 'develop' of github.com:matrix-org/synapse into erikj/sync (diff)
downloadsynapse-e1941442d442fe62570551071edfd936304697e7.tar.xz
Invalidate caches properly. Remove unused arg
Diffstat (limited to 'synapse/util/caches')
-rw-r--r--synapse/util/caches/room_change_cache.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/util/caches/room_change_cache.py b/synapse/util/caches/room_change_cache.py
index 3a873c9c30..eb2ab5f1e4 100644
--- a/synapse/util/caches/room_change_cache.py
+++ b/synapse/util/caches/room_change_cache.py
@@ -51,7 +51,7 @@ class RoomStreamChangeCache(object):
 
         return False
 
-    def get_rooms_changed(self, store, room_ids, key):
+    def get_rooms_changed(self, room_ids, key):
         """Returns subset of room ids that have had new things since the
         given key. If the key is too old it will just return the given list.
         """
@@ -70,7 +70,7 @@ class RoomStreamChangeCache(object):
 
         return result
 
-    def room_has_changed(self, store, room_id, key):
+    def room_has_changed(self, room_id, key):
         """Informs the cache that the room has been changed at the given key.
         """
         if key > self._earliest_known_key: