forked from MirrorHub/synapse
Log room when doing state resolution
Mostly because it helps figure out what is prompting the resolution
This commit is contained in:
parent
0fc2362d37
commit
1224612a79
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue