mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-27 20:22:07 +03:00
Lower size of 'stateGroupCache' now that we have data from matrix.org to support doing so
This commit is contained in:
parent
5371c2a1f7
commit
cd800ad99a
1 changed files with 1 additions and 1 deletions
|
@ -167,7 +167,7 @@ class SQLBaseStore(object):
|
|||
self._get_event_cache = Cache("*getEvent*", keylen=3, lru=True,
|
||||
max_entries=hs.config.event_cache_size)
|
||||
|
||||
self._state_group_cache = DictionaryCache("*stateGroupCache*", 100000)
|
||||
self._state_group_cache = DictionaryCache("*stateGroupCache*", 2000)
|
||||
|
||||
self._event_fetch_lock = threading.Condition()
|
||||
self._event_fetch_list = []
|
||||
|
|
Loading…
Reference in a new issue