0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-14 20:43:52 +01:00

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

View file

@ -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"]