Skip to content
This repository was archived by the owner on Mar 26, 2024. It is now read-only.

Commit f0f1137

Browse files
Up the cache it will be hit often now
1 parent 520adfd commit f0f1137

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

synapse/storage/databases/main/roommember.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ def _get_room_summary_txn(
349349
"get_room_summary", _get_room_summary_txn
350350
)
351351

352-
@cached()
352+
@cached(max_entries=100000)
353353
async def get_number_joined_users_in_room(self, room_id: str) -> int:
354354
return await self.db_pool.simple_select_one_onecol(
355355
table="current_state_events",

0 commit comments

Comments
 (0)