diff options
author | Erik Johnston <erik@matrix.org> | 2017-05-22 14:59:27 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2017-05-22 14:59:27 +0100 |
commit | 24c8f38784fc51945b54fc34f470c91192415c81 (patch) | |
tree | c3021914833234796312b5410a47dca1ed3b4ed0 /synapse/push | |
parent | Use tuple unpacking (diff) | |
download | synapse-24c8f38784fc51945b54fc34f470c91192415c81.tar.xz |
Comment
Diffstat (limited to 'synapse/push')
-rw-r--r-- | synapse/push/bulk_push_rule_evaluator.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/synapse/push/bulk_push_rule_evaluator.py b/synapse/push/bulk_push_rule_evaluator.py index f01a609e38..8443e4b05c 100644 --- a/synapse/push/bulk_push_rule_evaluator.py +++ b/synapse/push/bulk_push_rule_evaluator.py @@ -201,7 +201,10 @@ class RulesForRoom(object): self.sequence = 0 # A cache of user_ids that we *know* aren't interesting, e.g. user_ids - # owned by AS's, or remote users, etc. + # owned by AS's, or remote users, etc. (I.e. users we will never need to + # calculate push for) + # These never need to be invalidated as we will never set up push for + # them. self.uninteresting_user_set = set() # We need to be clever on the invalidating caches callbacks, as |