diff options
author | Erik Johnston <erik@matrix.org> | 2021-04-26 10:37:26 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2021-04-26 10:39:54 +0100 |
commit | 567fe5e387dc29ab1de30481f1e37c5047bb25cf (patch) | |
tree | 07f17d243334205835466b1afb9d0ab15e138f98 /synapse/util | |
parent | Ignore singletons (diff) | |
download | synapse-567fe5e387dc29ab1de30481f1e37c5047bb25cf.tar.xz |
Make TRACK_MEMORY_USAGE configurable
Diffstat (limited to 'synapse/util')
-rw-r--r-- | synapse/util/caches/lrucache.py | 2 |
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 |