diff options
author | Erik Johnston <erik@matrix.org> | 2016-01-28 15:02:37 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2016-01-28 15:02:41 +0000 |
commit | e1941442d442fe62570551071edfd936304697e7 (patch) | |
tree | d0472b1d793fbb5942eb27fbd37e9d400c0aa742 /synapse/util | |
parent | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/sync (diff) | |
download | synapse-e1941442d442fe62570551071edfd936304697e7.tar.xz |
Invalidate caches properly. Remove unused arg
Diffstat (limited to 'synapse/util')
-rw-r--r-- | synapse/util/caches/room_change_cache.py | 4 |
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: |