diff options
author | Richard van der Hoff <richard@matrix.org> | 2018-01-17 16:01:59 +0000 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2018-01-17 17:11:59 +0000 |
commit | 1224612a798ce9f14f0d44e1246f87da15a959f1 (patch) | |
tree | 39321960e86dfc49a7dd45bed21c5bb33b456993 | |
parent | Merge pull request #2777 from matrix-org/rav/fix_remote_thumbnails (diff) | |
download | synapse-1224612a798ce9f14f0d44e1246f87da15a959f1.tar.xz |
Log room when doing state resolution
Mostly because it helps figure out what is prompting the resolution
-rw-r--r-- | synapse/storage/events.py | 6 |
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 |