Lower size of 'stateGroupCache' now that we have data from matrix.org to support doing so

pull/274/head
Erik Johnston 2015-09-01 09:54:51 +01:00
parent 5371c2a1f7
commit cd800ad99a
1 changed files with 1 additions and 1 deletions

View File

@ -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 = []