diff options
author | Erik Johnston <erikj@jki.re> | 2017-04-25 11:18:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-25 11:18:07 +0100 |
commit | b4da08cad8ca911eb6d6c6f52f5e656f524c0771 (patch) | |
tree | 46dff436081daf9c62a54b4b93e64caeda65d1d1 /synapse/util/caches/__init__.py | |
parent | Merge pull request #2156 from matrix-org/markjh/old_verify_keys (diff) | |
parent | Remove DEBUG_CACHES (diff) | |
download | synapse-b4da08cad8ca911eb6d6c6f52f5e656f524c0771.tar.xz |
Merge pull request #2158 from matrix-org/erikj/reduce_cache_size
Reduce cache size by not storing deferreds
Diffstat (limited to 'synapse/util/caches/__init__.py')
-rw-r--r-- | synapse/util/caches/__init__.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/synapse/util/caches/__init__.py b/synapse/util/caches/__init__.py index 9fd35a8134..4a83c46d98 100644 --- a/synapse/util/caches/__init__.py +++ b/synapse/util/caches/__init__.py @@ -18,8 +18,6 @@ import os CACHE_SIZE_FACTOR = float(os.environ.get("SYNAPSE_CACHE_FACTOR", 0.1)) -DEBUG_CACHES = False - metrics = synapse.metrics.get_metrics_for("synapse.util.caches") caches_by_name = {} |