summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-08-18 15:51:23 +0100
committerErik Johnston <erik@matrix.org>2015-08-18 15:51:23 +0100
commit128ed32e6b64b7c590e288c29dfb993330a0ff8e (patch)
tree9c2790c8223cdf4639dd567f118ab644e51471cd
parentTypo (diff)
downloadsynapse-128ed32e6b64b7c590e288c29dfb993330a0ff8e.tar.xz
Bump size of get_presence_state cache
Diffstat (limited to '')
-rw-r--r--synapse/storage/presence.py2
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",