From dd3df11c5524441db3c9dd638ea59432d6f3d118 Mon Sep 17 00:00:00 2001 From: Mark Haines Date: Thu, 5 Jan 2017 12:32:47 +0000 Subject: More logging for the linearizer and for get_events --- synapse/storage/events.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'synapse/storage') diff --git a/synapse/storage/events.py b/synapse/storage/events.py index ecb79c07ef..04dbdac3f8 100644 --- a/synapse/storage/events.py +++ b/synapse/storage/events.py @@ -1084,8 +1084,10 @@ class EventsStore(SQLBaseStore): self._do_fetch ) + logger.info("Loading %d events", len(events)) with PreserveLoggingContext(): rows = yield events_d + logger.info("Loaded %d events (%d rows)", len(events), len(rows)) if not allow_rejected: rows[:] = [r for r in rows if not r["rejects"]] -- cgit 1.4.1