mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-12-26 17:49:25 -05:00
Bump size of get_presence_state cache
This commit is contained in:
parent
0d4abf7777
commit
128ed32e6b
@ -39,7 +39,7 @@ class PresenceStore(SQLBaseStore):
|
|||||||
desc="has_presence_state",
|
desc="has_presence_state",
|
||||||
)
|
)
|
||||||
|
|
||||||
@cached()
|
@cached(max_entries=2000)
|
||||||
def get_presence_state(self, user_localpart):
|
def get_presence_state(self, user_localpart):
|
||||||
return self._simple_select_one(
|
return self._simple_select_one(
|
||||||
table="presence",
|
table="presence",
|
||||||
|
Loading…
Reference in New Issue
Block a user