From 1e4d9df3cd38dcc6f49f789fcb39d0b5df79db2a Mon Sep 17 00:00:00 2001 From: Olivier 'reivilibre Date: Sat, 18 May 2024 15:21:40 +0100 Subject: [PATCH] Add current token to log line --- synapse/notifier.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/synapse/notifier.py b/synapse/notifier.py index 459954caeb1..ced9e9ad667 100644 --- a/synapse/notifier.py +++ b/synapse/notifier.py @@ -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)