summary refs log tree commit diff
path: root/synapse/util
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-02-17 15:44:41 +0000
committerErik Johnston <erik@matrix.org>2015-02-17 15:44:41 +0000
commit964bb43fbe15105c58f9550f376fa76709734cd8 (patch)
treec9cee28c41da9fadae0bf0e72290da95c9ad93c2 /synapse/util
parentExpiringCache: purge every 1/2 interval (diff)
downloadsynapse-964bb43fbe15105c58f9550f376fa76709734cd8.tar.xz
Fix typo in function name
Diffstat (limited to 'synapse/util')
-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.