mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-16 08:13:52 +01:00
Make caches bigger
This commit is contained in:
parent
dfaa58f72d
commit
07a07588a0
1 changed files with 1 additions and 1 deletions
|
@ -494,7 +494,7 @@ class RoomMemberStore(SQLBaseStore):
|
||||||
room_id, state_group, state_ids
|
room_id, state_group, state_ids
|
||||||
)
|
)
|
||||||
|
|
||||||
@cachedInlineCallbacks(num_args=2)
|
@cachedInlineCallbacks(num_args=2, max_entries=10000, iterable=True)
|
||||||
def _get_joined_hosts(self, room_id, state_group, current_state_ids):
|
def _get_joined_hosts(self, room_id, state_group, current_state_ids):
|
||||||
# We don't use `state_group`, its there so that we can cache based
|
# We don't use `state_group`, its there so that we can cache based
|
||||||
# on it. However, its important that its never None, since two current_state's
|
# on it. However, its important that its never None, since two current_state's
|
||||||
|
|
Loading…
Reference in a new issue