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

Commit

Permalink
Remove stream before/after debug log lines (#7207)
Browse files Browse the repository at this point in the history
  • Loading branch information
anoadragon453 committed Apr 6, 2020
1 parent b21000a commit 4b0f00a
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 4b0f00a

Please sign in to comment.