summary refs log tree commit diff
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2021-01-05 13:52:36 +0000
committerRichard van der Hoff <richard@matrix.org>2021-01-05 13:52:36 +0000
commit5a4f09228d893fcc164ae47654446ff723ba1ccf (patch)
treeb16a31a405a7c9e2155db3e8ac31a6ea093631d8
parentMerge remote-tracking branch 'origin/release-v1.25.0' into matrix-org-hotfixes (diff)
downloadsynapse-5a4f09228d893fcc164ae47654446ff723ba1ccf.tar.xz
Remove cache from room directory query results
This reverts a285fe0. Hopefully the cache is no longer required, thanks to
-rw-r--r--synapse/handlers/room_list.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/room_list.py b/synapse/handlers/room_list.py

index a2c0340a3c..70522e40fa 100644 --- a/synapse/handlers/room_list.py +++ b/synapse/handlers/room_list.py
@@ -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