Log room when doing state resolution

Mostly because it helps figure out what is prompting the resolution
This commit is contained in:
Richard van der Hoff 2018-01-17 16:01:59 +00:00
parent 0fc2362d37
commit 1224612a79

View File

@ -528,6 +528,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