diff options
author | Erik Johnston <erik@matrix.org> | 2016-07-21 10:30:12 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2016-07-21 10:30:12 +0100 |
commit | 248e6770ca0faadf574cfd62f72d8e200cb5b57a (patch) | |
tree | 7bc7a6c0173fe0366c8c029d444da5d3f7609682 /synapse/handlers/room.py | |
parent | Merge pull request #938 from matrix-org/rav/add_device_id_to_client_ips (diff) | |
download | synapse-248e6770ca0faadf574cfd62f72d8e200cb5b57a.tar.xz |
Cache federation state responses
Diffstat (limited to 'synapse/handlers/room.py')
-rw-r--r-- | synapse/handlers/room.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/handlers/room.py b/synapse/handlers/room.py index ae44c7a556..bf6b1c1535 100644 --- a/synapse/handlers/room.py +++ b/synapse/handlers/room.py @@ -345,8 +345,8 @@ class RoomCreationHandler(BaseHandler): class RoomListHandler(BaseHandler): def __init__(self, hs): super(RoomListHandler, self).__init__(hs) - self.response_cache = ResponseCache() - self.remote_list_request_cache = ResponseCache() + self.response_cache = ResponseCache(hs) + self.remote_list_request_cache = ResponseCache(hs) self.remote_list_cache = {} self.fetch_looping_call = hs.get_clock().looping_call( self.fetch_all_remote_lists, REMOTE_ROOM_LIST_POLL_INTERVAL |