Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Merge pull request #1823 from matrix-org/erikj/load_events_logs
Browse files Browse the repository at this point in the history
Remove loading events logs
  • Loading branch information
erikjohnston committed Jan 18, 2017
2 parents fc7cae8 + 4ec1cf4 commit ae7b4da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions synapse/storage/events.py
Expand Up @@ -1084,10 +1084,10 @@ def _enqueue_events(self, events, check_redacted=True, allow_rejected=False):
self._do_fetch
)

logger.info("Loading %d events", len(events))
logger.debug("Loading %d events", len(events))
with PreserveLoggingContext():
rows = yield events_d
logger.info("Loaded %d events (%d rows)", len(events), len(rows))
logger.debug("Loaded %d events (%d rows)", len(events), len(rows))

if not allow_rejected:
rows[:] = [r for r in rows if not r["rejects"]]
Expand Down

0 comments on commit ae7b4da

Please sign in to comment.