mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-23 01:55:53 +03:00
Add a comment explaining why the filter cache doesn't need exipiring
This commit is contained in:
parent
0eae075723
commit
f88d747f79
1 changed files with 1 additions and 0 deletions
|
@ -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"]
|
||||||
|
|
Loading…
Reference in a new issue