diff options
author | Richard van der Hoff <github@rvanderhoff.org.uk> | 2018-01-17 18:05:04 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-17 18:05:04 +0000 |
commit | 36da256cc6d12a1ae4fb3c703428ab38681a1e75 (patch) | |
tree | aae1695a5761fef87526b114b64ad51745a03749 | |
parent | Merge pull request #2783 from matrix-org/erikj/media_last_accessed (diff) | |
parent | Log room when doing state resolution (diff) | |
download | synapse-36da256cc6d12a1ae4fb3c703428ab38681a1e75.tar.xz |
Merge pull request #2805 from matrix-org/rav/log_state_res
Log room when doing state resolution
-rw-r--r-- | synapse/storage/events.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/synapse/storage/events.py b/synapse/storage/events.py index c5292a5311..7a9cd3ec90 100644 --- a/synapse/storage/events.py +++ b/synapse/storage/events.py @@ -535,6 +535,12 @@ class EventsStore(SQLBaseStore): # the events we have yet to persist, so we need a slightly more # complicated event lookup function than simply looking the events # up in the db. + + logger.info( + "Resolving state for %s with %i state sets", + room_id, len(state_sets), + ) + events_map = {ev.event_id: ev for ev, _ in events_context} @defer.inlineCallbacks |