summary refs log tree commit diff
path: root/synapse/util/expiringcache.py
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/util/expiringcache.py')
-rw-r--r--synapse/util/expiringcache.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/util/expiringcache.py b/synapse/util/expiringcache.py
index 3c8409b164..1c7859297a 100644
--- a/synapse/util/expiringcache.py
+++ b/synapse/util/expiringcache.py
@@ -85,7 +85,7 @@ class ExpiringCache(object):
         except KeyError:
             return default
 
-    def _purge_cache(self):
+    def _prune_cache(self):
         if not self._expiry_ms:
             # zero expiry time means don't expire. This should never get called
             # since we have this check in start too.