summary refs log tree commit diff
diff options
context:
space:
mode:
authorOlivier 'reivilibre <oliverw@matrix.org>2024-05-18 15:21:40 +0100
committerOlivier 'reivilibre <oliverw@matrix.org>2024-05-18 15:21:40 +0100
commit1e4d9df3cd38dcc6f49f789fcb39d0b5df79db2a (patch)
treea0cdc2eec1ca92179e23bc80a77f818c8a7dfb33
parentIgnore typing stream for now (diff)
downloadsynapse-1e4d9df3cd38dcc6f49f789fcb39d0b5df79db2a.tar.xz
Add current token to log line
-rw-r--r--synapse/notifier.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/synapse/notifier.py b/synapse/notifier.py

index 459954caeb..ced9e9ad66 100644 --- a/synapse/notifier.py +++ b/synapse/notifier.py
@@ -777,7 +777,11 @@ class Notifier: 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)