Add a comment explaining why the filter cache doesn't need exipiring

This commit is contained in:
Mark Haines 2016-06-03 11:03:10 +01:00
parent 0eae075723
commit f88d747f79
1 changed files with 1 additions and 0 deletions

View File

@ -21,4 +21,5 @@ class SlavedFilteringStore(BaseSlavedStore):
def __init__(self, db_conn, hs): def __init__(self, db_conn, hs):
super(SlavedFilteringStore, self).__init__(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"] get_user_filter = FilteringStore.__dict__["get_user_filter"]