mirror of
https://github.com/element-hq/synapse
synced 2024-08-20 22:30:21 +00:00
Also improve the cache size while we're at it
This commit is contained in:
parent
1ce0bd2d77
commit
5c1fe0b20e
1 changed files with 1 additions and 1 deletions
|
@ -1255,7 +1255,7 @@ class RoomWorkerStore(CacheInvalidationWorkerStore):
|
|||
|
||||
return room_servers
|
||||
|
||||
@cached()
|
||||
@cached(max_entries=10000)
|
||||
async def is_partial_state_room(self, room_id: str) -> bool:
|
||||
"""Checks if this room has partial state.
|
||||
|
||||
|
|
Loading…
Reference in a new issue