Skip to content
Snippets Groups Projects
Commit cd800ad9 authored by Erik Johnston's avatar Erik Johnston
Browse files

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

parent 5371c2a1
No related branches found
No related tags found
No related merge requests found
...@@ -167,7 +167,7 @@ class SQLBaseStore(object): ...@@ -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 = []
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment