summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-06-01 11:20:11 +0100
committerErik Johnston <erik@matrix.org>2016-06-01 11:20:11 +0100
commit1b4fc178aa94350ea8f20d7658dac6ea8408e130 (patch)
tree99d3d0042e24722f095e281ab3ead00cd01766e8
parentUse state to calculate get_users_in_room (diff)
downloadsynapse-1b4fc178aa94350ea8f20d7658dac6ea8408e130.tar.xz
Up max_etnries
-rw-r--r--synapse/storage/pusher.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/pusher.py b/synapse/storage/pusher.py
index 39d5349eaa..d013b37018 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=5000)
     def get_if_user_has_pusher(self, user_id):
         result = yield self._simple_select_many_batch(
             table='pushers',