Skip to content
Snippets Groups Projects
Commit 3ce8d591 authored by Erik Johnston's avatar Erik Johnston
Browse files

Increase cache size for _get_state_group_for_event

parent b9c2ae67
No related branches found
No related tags found
No related merge requests found
......@@ -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",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment