diff options
author | Erik Johnston <erik@matrix.org> | 2015-08-18 15:51:23 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-08-18 15:51:23 +0100 |
commit | 128ed32e6b64b7c590e288c29dfb993330a0ff8e (patch) | |
tree | 9c2790c8223cdf4639dd567f118ab644e51471cd /synapse | |
parent | Typo (diff) | |
download | synapse-128ed32e6b64b7c590e288c29dfb993330a0ff8e.tar.xz |
Bump size of get_presence_state cache
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/storage/presence.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/presence.py b/synapse/storage/presence.py index 9b136f3119..34ca3b9a54 100644 --- a/synapse/storage/presence.py +++ b/synapse/storage/presence.py @@ -39,7 +39,7 @@ class PresenceStore(SQLBaseStore): desc="has_presence_state", ) - @cached() + @cached(max_entries=2000) def get_presence_state(self, user_localpart): return self._simple_select_one( table="presence", |