Skip to content

Commit

Permalink
Add current token to log line
Browse files Browse the repository at this point in the history
  • Loading branch information
reivilibre committed May 18, 2024
1 parent 7bd1575 commit 1e4d9df
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion synapse/notifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -777,7 +777,11 @@ async def wait_for_stream_token(self, stream_token: StreamToken) -> bool:
if now - start > 10_000:
return False

logger.info("Waiting for current token to reach %s", stream_token)
logger.info(
"Waiting for current token to reach %s; currently at %s",
stream_token,
current_token,
)

# TODO: be better
await self.clock.sleep(0.5)
Expand Down

0 comments on commit 1e4d9df

Please sign in to comment.