mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 10:46:06 -04:00
Reduce cache size from obscenely large to quite large
This commit is contained in:
parent
dc2a105fca
commit
85d0bc3bdc
1 changed files with 1 additions and 1 deletions
|
@ -240,7 +240,7 @@ class StateStore(SQLBaseStore):
|
|||
|
||||
defer.returnValue({event: event_to_state[event] for event in event_ids})
|
||||
|
||||
@cached(num_args=2, lru=True, max_entries=100000)
|
||||
@cached(num_args=2, lru=True, max_entries=10000)
|
||||
def _get_state_group_for_event(self, room_id, event_id):
|
||||
return self._simple_select_one_onecol(
|
||||
table="event_to_state_groups",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue