summary refs log tree commit diff
path: root/synapse/storage/_base.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-08-19 11:59:29 +0100
committerErik Johnston <erik@matrix.org>2016-08-19 14:17:11 +0100
commitba214a5e325adbf8ab430cb15f55d2c7544eba8b (patch)
tree01e19b7fa2dd6d5ec121946759c48ea815db97c5 /synapse/storage/_base.py
parentAdd concept of cache contexts (diff)
downloadsynapse-ba214a5e325adbf8ab430cb15f55d2c7544eba8b.tar.xz
Remove lru option
Diffstat (limited to 'synapse/storage/_base.py')
-rw-r--r--synapse/storage/_base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/_base.py b/synapse/storage/_base.py
index 029f6612e6..49fa8614f2 100644
--- a/synapse/storage/_base.py
+++ b/synapse/storage/_base.py
@@ -166,7 +166,7 @@ class SQLBaseStore(object):
         self._txn_perf_counters = PerformanceCounters()
         self._get_event_counters = PerformanceCounters()
 
-        self._get_event_cache = Cache("*getEvent*", keylen=3, lru=True,
+        self._get_event_cache = Cache("*getEvent*", keylen=3,
                                       max_entries=hs.config.event_cache_size)
 
         self._state_group_cache = DictionaryCache(