summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-08-05 15:52:22 +0100
committerErik Johnston <erik@matrix.org>2015-08-05 15:52:22 +0100
commit8a345190ccc3e728676fd0bb919ebf7de84f37c5 (patch)
treef4bc8de361f31eec4e0748abb0a8bf1cf102c3e9
parentMerge branch 'develop' of github.com:matrix-org/synapse into erikj/acl_perf (diff)
downloadsynapse-8a345190ccc3e728676fd0bb919ebf7de84f37c5.tar.xz
Lower cache size
-rw-r--r--synapse/storage/state.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/state.py b/synapse/storage/state.py
index 91a5ae86a4..d0e99d4d70 100644
--- a/synapse/storage/state.py
+++ b/synapse/storage/state.py
@@ -229,7 +229,7 @@ class StateStore(SQLBaseStore):
             f,
         )
 
-    @cached(num_args=3, lru=True, max_entries=100000)
+    @cached(num_args=3, lru=True, max_entries=10000)
     def _get_state_for_event_id(self, room_id, event_id, types):
         def f(txn):
             type_and_state_sql = " OR ".join([