summary refs log tree commit diff
path: root/synapse/storage/_base.py
diff options
context:
space:
mode:
authorRichard van der Hoff <github@rvanderhoff.org.uk>2017-11-15 17:23:01 +0000
committerGitHub <noreply@github.com>2017-11-15 17:23:01 +0000
commitf959c01600d28d5d1a6892f929358ee8ba2b3769 (patch)
tree0019baf7cb16da23ddafdc19830e0893ec69f34c /synapse/storage/_base.py
parentMerge pull request #2677 from matrix-org/rav/spec_r0.3.0 (diff)
parentPull out bits of StateStore to a mixin (diff)
downloadsynapse-f959c01600d28d5d1a6892f929358ee8ba2b3769.tar.xz
Merge pull request #2661 from matrix-org/rav/statereadstore
Pull out bits of StateStore to a mixin
Diffstat (limited to 'synapse/storage/_base.py')
-rw-r--r--synapse/storage/_base.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/synapse/storage/_base.py b/synapse/storage/_base.py

index e94917d9cd..7ebd4f189d 100644 --- a/synapse/storage/_base.py +++ b/synapse/storage/_base.py
@@ -16,8 +16,6 @@ import logging from synapse.api.errors import StoreError from synapse.util.logcontext import LoggingContext, PreserveLoggingContext -from synapse.util.caches import CACHE_SIZE_FACTOR -from synapse.util.caches.dictionary_cache import DictionaryCache from synapse.util.caches.descriptors import Cache from synapse.storage.engines import PostgresEngine import synapse.metrics @@ -180,10 +178,6 @@ class SQLBaseStore(object): self._get_event_cache = Cache("*getEvent*", keylen=3, max_entries=hs.config.event_cache_size) - self._state_group_cache = DictionaryCache( - "*stateGroupCache*", 100000 * CACHE_SIZE_FACTOR - ) - self._event_fetch_lock = threading.Condition() self._event_fetch_list = [] self._event_fetch_ongoing = 0