mirror of
https://github.com/element-hq/synapse
synced 2024-09-12 09:25:11 +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
|
return room_servers
|
||||||
|
|
||||||
@cached()
|
@cached(max_entries=10000)
|
||||||
async def is_partial_state_room(self, room_id: str) -> bool:
|
async def is_partial_state_room(self, room_id: str) -> bool:
|
||||||
"""Checks if this room has partial state.
|
"""Checks if this room has partial state.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue