diff options
author | Erik Johnston <erikj@jki.re> | 2017-05-18 16:51:18 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-18 16:51:18 +0100 |
commit | 234772db6dc99665803b29e199498292c37a6c03 (patch) | |
tree | 0905b0c2d5eaf87c06b84fbe9a31385ab545b88a /synapse/push | |
parent | Remove size of push get_rules cache (diff) | |
parent | Make get_if_app_services_interested_in_user faster (diff) | |
download | synapse-234772db6dc99665803b29e199498292c37a6c03.tar.xz |
Merge pull request #2233 from matrix-org/erikj/faster_as_check
Make get_if_app_services_interested_in_user faster
Diffstat (limited to 'synapse/push')
-rw-r--r-- | synapse/push/bulk_push_rule_evaluator.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/synapse/push/bulk_push_rule_evaluator.py b/synapse/push/bulk_push_rule_evaluator.py index 7f04d5668f..386d7bed81 100644 --- a/synapse/push/bulk_push_rule_evaluator.py +++ b/synapse/push/bulk_push_rule_evaluator.py @@ -251,9 +251,7 @@ class RulesForRoom(object): if not self.is_mine_id(user_id): continue - if self.store.get_if_app_services_interested_in_user( - user_id, exclusive=True - ): + if self.store.get_if_app_services_interested_in_user(user_id): continue # If a user has left a room we remove their push rule. If they |