summary refs log tree commit diff
path: root/synapse/storage
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2018-01-17 16:01:59 +0000
committerRichard van der Hoff <richard@matrix.org>2018-01-17 17:11:59 +0000
commit1224612a798ce9f14f0d44e1246f87da15a959f1 (patch)
tree39321960e86dfc49a7dd45bed21c5bb33b456993 /synapse/storage
parentMerge pull request #2777 from matrix-org/rav/fix_remote_thumbnails (diff)
downloadsynapse-1224612a798ce9f14f0d44e1246f87da15a959f1.tar.xz
Log room when doing state resolution
Mostly because it helps figure out what is prompting the resolution
Diffstat (limited to 'synapse/storage')
-rw-r--r--synapse/storage/events.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/synapse/storage/events.py b/synapse/storage/events.py
index d08f7571d7..ba0da83642 100644
--- a/synapse/storage/events.py
+++ b/synapse/storage/events.py
@@ -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