diff options
author | Erik Johnston <erik@matrix.org> | 2016-06-03 11:44:32 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2016-06-03 11:44:32 +0100 |
commit | 722472b48c6b54b53be4649b68e50c2b9bccc39c (patch) | |
tree | 1fce6497d0eaa66811259c00137c9c36e7bb121e /synapse/storage/pusher.py | |
parent | Merge pull request #824 from matrix-org/markjh/slaved_presence_store (diff) | |
parent | Load push rules in storage layer, so that they get cached (diff) | |
download | synapse-722472b48c6b54b53be4649b68e50c2b9bccc39c.tar.xz |
Merge pull request #825 from matrix-org/erikj/cache_push_rules
Load push rules in storage layer so that they get cached
Diffstat (limited to 'synapse/storage/pusher.py')
-rw-r--r-- | synapse/storage/pusher.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/pusher.py b/synapse/storage/pusher.py index 39d5349eaa..a7d7c54d7e 100644 --- a/synapse/storage/pusher.py +++ b/synapse/storage/pusher.py @@ -135,7 +135,7 @@ class PusherStore(SQLBaseStore): "get_all_updated_pushers", get_all_updated_pushers_txn ) - @cachedInlineCallbacks(lru=True, num_args=1) + @cachedInlineCallbacks(lru=True, num_args=1, max_entries=15000) def get_if_user_has_pusher(self, user_id): result = yield self._simple_select_many_batch( table='pushers', |