summary refs log tree commit diff
path: root/synapse/replication
diff options
context:
space:
mode:
authorMark Haines <mjark@negativecurvature.net>2016-06-03 11:03:10 +0100
committerMark Haines <mjark@negativecurvature.net>2016-06-03 11:03:10 +0100
commitf88d747f7959808884451245aeba65edf7c490bf (patch)
tree980b9dd8d09fa6efa51dad1a750be4c6f2429090 /synapse/replication
parentAdd slaved stores for filters, tokens, and push rules (diff)
downloadsynapse-f88d747f7959808884451245aeba65edf7c490bf.tar.xz
Add a comment explaining why the filter cache doesn't need exipiring
Diffstat (limited to 'synapse/replication')
-rw-r--r--synapse/replication/slave/storage/filtering.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/replication/slave/storage/filtering.py b/synapse/replication/slave/storage/filtering.py
index 5037f395b9..819ed62881 100644
--- a/synapse/replication/slave/storage/filtering.py
+++ b/synapse/replication/slave/storage/filtering.py
@@ -21,4 +21,5 @@ class SlavedFilteringStore(BaseSlavedStore):
     def __init__(self, db_conn, hs):
         super(SlavedFilteringStore, self).__init__(db_conn, hs)
 
+    # Filters are immutable so this cache doesn't need to be expired
     get_user_filter = FilteringStore.__dict__["get_user_filter"]