Remove cache from room directory query results

This reverts a285fe0. Hopefully the cache is no longer required, thanks to
This commit is contained in:
Richard van der Hoff 2021-01-05 13:52:36 +00:00
parent 97d12dcf56
commit 5a4f09228d

View file

@ -45,7 +45,7 @@ class RoomListHandler(BaseHandler):
self.enable_room_list_search = hs.config.enable_room_list_search
self.response_cache = ResponseCache(
hs, "room_list", timeout_ms=10 * 60 * 1000
hs, "room_list"
) # type: ResponseCache[Tuple[Optional[int], Optional[str], ThirdPartyInstanceID]]
self.remote_response_cache = ResponseCache(
hs, "remote_room_list", timeout_ms=30 * 1000