diff options
author | Matthew Hodgson <matthew@arasphere.net> | 2017-01-05 13:01:31 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-05 13:01:31 +0000 |
commit | 7738329672e76824e98632d74380839f96e88f52 (patch) | |
tree | b9a501be0dcd0c6bf7ab3e59b73363a05319910b /synapse/storage | |
parent | Merge pull request #1765 from matrix-org/markjh/timeout_get_missing_events (diff) | |
parent | More logging for the linearizer and for get_events (diff) | |
download | synapse-7738329672e76824e98632d74380839f96e88f52.tar.xz |
Merge pull request #1766 from matrix-org/markjh/linear_logging
More logging for the linearizer and for get_events
Diffstat (limited to 'synapse/storage')
-rw-r--r-- | synapse/storage/events.py | 2 |
1 files changed, 2 insertions, 0 deletions
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"]] |