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
|
@ -167,7 +167,7 @@ class SQLBaseStore(object):
|
||||||
self._get_event_cache = Cache("*getEvent*", keylen=3, lru=True,
|
self._get_event_cache = Cache("*getEvent*", keylen=3, lru=True,
|
||||||
max_entries=hs.config.event_cache_size)
|
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_lock = threading.Condition()
|
||||||
self._event_fetch_list = []
|
self._event_fetch_list = []
|
||||||
|
|
Loading…
Reference in New Issue