summary refs log tree commit diff
path: root/synapse/push
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-05-22 14:59:27 +0100
committerErik Johnston <erik@matrix.org>2017-05-22 14:59:27 +0100
commit24c8f38784fc51945b54fc34f470c91192415c81 (patch)
treec3021914833234796312b5410a47dca1ed3b4ed0 /synapse/push
parentUse tuple unpacking (diff)
downloadsynapse-24c8f38784fc51945b54fc34f470c91192415c81.tar.xz
Comment
Diffstat (limited to 'synapse/push')
-rw-r--r--synapse/push/bulk_push_rule_evaluator.py5
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