diff options
author | Mark Haines <mjark@negativecurvature.net> | 2016-06-03 11:03:10 +0100 |
---|---|---|
committer | Mark Haines <mjark@negativecurvature.net> | 2016-06-03 11:03:10 +0100 |
commit | f88d747f7959808884451245aeba65edf7c490bf (patch) | |
tree | 980b9dd8d09fa6efa51dad1a750be4c6f2429090 /synapse/replication/slave/storage | |
parent | Add slaved stores for filters, tokens, and push rules (diff) | |
download | synapse-f88d747f7959808884451245aeba65edf7c490bf.tar.xz |
Add a comment explaining why the filter cache doesn't need exipiring
Diffstat (limited to 'synapse/replication/slave/storage')
-rw-r--r-- | synapse/replication/slave/storage/filtering.py | 1 |
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"] |