summary refs log tree commit diff
path: root/synapse/storage/state.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-03-29 14:31:46 +0100
committerErik Johnston <erik@matrix.org>2017-03-29 14:31:46 +0100
commit3ce8d591763059bb17b5d5053bcfadaa2c988f83 (patch)
treede16a94d27dcd6a2fa6a2eb7f15d28c23a5c5c46 /synapse/storage/state.py
parentMerge pull request #1849 from matrix-org/erikj/state_typo (diff)
downloadsynapse-3ce8d591763059bb17b5d5053bcfadaa2c988f83.tar.xz
Increase cache size for _get_state_group_for_event
Diffstat (limited to 'synapse/storage/state.py')
-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 314216f039..fb23f6f462 100644
--- a/synapse/storage/state.py
+++ b/synapse/storage/state.py
@@ -496,7 +496,7 @@ class StateStore(SQLBaseStore):
         state_map = yield self.get_state_ids_for_events([event_id], types)
         defer.returnValue(state_map[event_id])
 
-    @cached(num_args=2, max_entries=10000)
+    @cached(num_args=2, max_entries=100000)
     def _get_state_group_for_event(self, room_id, event_id):
         return self._simple_select_one_onecol(
             table="event_to_state_groups",