diff options
author | Erik Johnston <erik@matrix.org> | 2015-08-05 15:52:22 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-08-05 15:52:22 +0100 |
commit | 8a345190ccc3e728676fd0bb919ebf7de84f37c5 (patch) | |
tree | f4bc8de361f31eec4e0748abb0a8bf1cf102c3e9 | |
parent | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/acl_perf (diff) | |
download | synapse-8a345190ccc3e728676fd0bb919ebf7de84f37c5.tar.xz |
Lower cache size
-rw-r--r-- | synapse/storage/state.py | 2 |
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([ |