mirror of
https://github.com/element-hq/synapse
synced 2024-10-02 12:42:41 +00:00
Lower cache size
This commit is contained in:
parent
1229f2213e
commit
8a345190cc
1 changed files with 1 additions and 1 deletions
|
@ -229,7 +229,7 @@ class StateStore(SQLBaseStore):
|
||||||
f,
|
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 _get_state_for_event_id(self, room_id, event_id, types):
|
||||||
def f(txn):
|
def f(txn):
|
||||||
type_and_state_sql = " OR ".join([
|
type_and_state_sql = " OR ".join([
|
||||||
|
|
Loading…
Reference in a new issue