summary refs log tree commit diff
path: root/synapse/util
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2021-04-26 10:37:26 +0100
committerErik Johnston <erik@matrix.org>2021-04-26 10:39:54 +0100
commit567fe5e387dc29ab1de30481f1e37c5047bb25cf (patch)
tree07f17d243334205835466b1afb9d0ab15e138f98 /synapse/util
parentIgnore singletons (diff)
downloadsynapse-567fe5e387dc29ab1de30481f1e37c5047bb25cf.tar.xz
Make TRACK_MEMORY_USAGE configurable
Diffstat (limited to 'synapse/util')
-rw-r--r--synapse/util/caches/lrucache.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/util/caches/lrucache.py b/synapse/util/caches/lrucache.py
index b018733288..1719b0a1ca 100644
--- a/synapse/util/caches/lrucache.py
+++ b/synapse/util/caches/lrucache.py
@@ -60,7 +60,7 @@ except ImportError:
 
 
 # Whether to track estimated memory usage of the LruCaches.
-TRACK_MEMORY_USAGE = True
+TRACK_MEMORY_USAGE = False
 
 
 # Function type: the type used for invalidation callbacks