summary refs log tree commit diff
path: root/synapse/util/caches/descriptors.py
diff options
context:
space:
mode:
authorAmber Brown <hawkowl@atleastfornow.net>2018-05-22 16:28:23 -0500
committerAmber Brown <hawkowl@atleastfornow.net>2018-05-22 16:28:23 -0500
commit85ba83eb5100abf02cf373d9a8d5010526facd45 (patch)
treee896a3ee04b5dbe59c07ba72293278795e0490b8 /synapse/util/caches/descriptors.py
parentfix the test failures (diff)
downloadsynapse-85ba83eb5100abf02cf373d9a8d5010526facd45.tar.xz
fixes
Diffstat (limited to 'synapse/util/caches/descriptors.py')
-rw-r--r--synapse/util/caches/descriptors.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/util/caches/descriptors.py b/synapse/util/caches/descriptors.py
index a4188eb099..8a9dcb2fc2 100644
--- a/synapse/util/caches/descriptors.py
+++ b/synapse/util/caches/descriptors.py
@@ -80,7 +80,7 @@ class Cache(object):
         self.name = name
         self.keylen = keylen
         self.thread = None
-        self.metrics = register_cache("descriptor", name, self.cache)
+        self.metrics = register_cache("cache", name, self.cache)
 
     def _on_evicted(self, evicted_count):
         self.metrics.inc_evictions(evicted_count)