Merge pull request #2805 from matrix-org/rav/log_state_res

Log room when doing state resolution
This commit is contained in:
Richard van der Hoff 2018-01-17 18:05:04 +00:00 committed by GitHub
commit 36da256cc6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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