mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-22 17:01:19 -04:00
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
|
# the events we have yet to persist, so we need a slightly more
|
||||||
# complicated event lookup function than simply looking the events
|
# complicated event lookup function than simply looking the events
|
||||||
# up in the db.
|
# 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}
|
events_map = {ev.event_id: ev for ev, _ in events_context}
|
||||||
|
|
||||||
@defer.inlineCallbacks
|
@defer.inlineCallbacks
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue