Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Bump size of get_presence_state cache
Browse files Browse the repository at this point in the history
  • Loading branch information
erikjohnston committed Aug 18, 2015
1 parent 0d4abf7 commit 128ed32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion synapse/storage/presence.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def has_presence_state(self, user_localpart):
desc="has_presence_state",
)

@cached()
@cached(max_entries=2000)
def get_presence_state(self, user_localpart):
return self._simple_select_one(
table="presence",
Expand Down

0 comments on commit 128ed32

Please sign in to comment.