diff options
author | Erik Johnston <erikj@jki.re> | 2016-08-02 15:21:37 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-02 15:21:37 +0100 |
commit | 7b0f6293f27c52194d86c3944a590d096e024f1b (patch) | |
tree | ebc1480decfa0f4063ec74628ae8e01bb84b5fc3 /synapse/handlers/room.py | |
parent | Print authorization header for federation_client.py (diff) | |
parent | Cache federation state responses (diff) | |
download | synapse-7b0f6293f27c52194d86c3944a590d096e024f1b.tar.xz |
Merge pull request #940 from matrix-org/erikj/fed_state_cache
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 |