log invalidating
This commit is contained in:
@@ -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,)
|
||||
)
|
||||
|
||||
@@ -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,)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user