diff options
author | Andrew Morgan <andrew@amorgan.xyz> | 2020-05-07 15:33:57 +0100 |
---|---|---|
committer | Andrew Morgan <andrew@amorgan.xyz> | 2020-05-07 15:33:57 +0100 |
commit | 88d8a7cd19cefcfddbacc6d2ee25248aff1fc3cb (patch) | |
tree | 38ffd49b82b68031314a8b173e714e35849a5d08 | |
parent | Up get_users_in_room cache size again (diff) | |
download | synapse-github/anoa/get_users_in_room_debugging.tar.xz |
log invalidating github/anoa/get_users_in_room_debugging anoa/get_users_in_room_debugging
-rw-r--r-- | synapse/replication/slave/storage/events.py | 1 | ||||
-rw-r--r-- | synapse/storage/data_stores/main/events.py | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/synapse/replication/slave/storage/events.py b/synapse/replication/slave/storage/events.py index 15011259df..7898de81d3 100644 --- a/synapse/replication/slave/storage/events.py +++ b/synapse/replication/slave/storage/events.py @@ -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,) ) diff --git a/synapse/storage/data_stores/main/events.py b/synapse/storage/data_stores/main/events.py index e71c23541d..25db63ed2f 100644 --- a/synapse/storage/data_stores/main/events.py +++ b/synapse/storage/data_stores/main/events.py @@ -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,) ) |