summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorRichard van der Hoff <github@rvanderhoff.org.uk>2018-01-17 18:05:04 +0000
committerGitHub <noreply@github.com>2018-01-17 18:05:04 +0000
commit36da256cc6d12a1ae4fb3c703428ab38681a1e75 (patch)
treeaae1695a5761fef87526b114b64ad51745a03749 /synapse
parentMerge pull request #2783 from matrix-org/erikj/media_last_accessed (diff)
parentLog room when doing state resolution (diff)
downloadsynapse-36da256cc6d12a1ae4fb3c703428ab38681a1e75.tar.xz
Merge pull request #2805 from matrix-org/rav/log_state_res
Log room when doing state resolution
Diffstat (limited to 'synapse')
-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 c5292a5311..7a9cd3ec90 100644
--- a/synapse/storage/events.py
+++ b/synapse/storage/events.py
@@ -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