Skip to content

Commit

Permalink
Remove stream before/after debug log lines (matrix-org#7207)
Browse files Browse the repository at this point in the history
  • Loading branch information
anoadragon453 authored and phil-flex committed Jun 16, 2020
1 parent 168f2a9 commit 2fe97a9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions changelog.d/7207.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Remove some extraneous debugging log lines.
2 changes: 0 additions & 2 deletions synapse/storage/data_stores/main/stream.py
Original file line number Diff line number Diff line change
Expand Up @@ -481,11 +481,9 @@ def get_recent_events_for_room(self, room_id, limit, end_token):
room_id, limit, end_token
)

logger.debug("stream before")
events = yield self.get_events_as_list(
[r.event_id for r in rows], get_prev_content=True
)
logger.debug("stream after")

self._set_before_and_after(events, rows)

Expand Down

0 comments on commit 2fe97a9

Please sign in to comment.