1
0

log invalidating

This commit is contained in:
Andrew Morgan
2020-05-07 15:33:57 +01:00
parent 14a9d59edf
commit 88d8a7cd19
2 changed files with 2 additions and 0 deletions

View File

@@ -135,6 +135,7 @@ class SlavedEventStore(
)
if data.type == EventTypes.Member:
logger.info("INVALIDATING get_rooms_for_user_with_stream_ordering")
self.get_rooms_for_user_with_stream_ordering.invalidate(
(data.state_key,)
)

View File

@@ -605,6 +605,7 @@ class EventsStore(
}
for member in members_changed:
logger.info("INVALIDATING get_rooms_for_user_with_stream_ordering")
txn.call_after(
self.get_rooms_for_user_with_stream_ordering.invalidate, (member,)
)