Only get local users

This commit is contained in:
Erik Johnston 2016-06-01 11:34:06 +01:00
parent 065e739d6e
commit 9c26b390a2
2 changed files with 6 additions and 3 deletions

View file

@ -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',