diff options
author | Erik Johnston <erik@matrix.org> | 2015-09-01 09:54:51 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-09-01 10:09:03 +0100 |
commit | cd800ad99afa5c689f10fd5e10843b74e4589336 (patch) | |
tree | 6305cb167dcad1e220df5c92a1a020c80557eb10 /synapse | |
parent | Bump version and changelog (diff) | |
download | synapse-cd800ad99afa5c689f10fd5e10843b74e4589336.tar.xz |
Lower size of 'stateGroupCache' now that we have data from matrix.org to support doing so
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/storage/_base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/_base.py b/synapse/storage/_base.py index 1444767a52..d976e17786 100644 --- a/synapse/storage/_base.py +++ b/synapse/storage/_base.py @@ -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 = [] |