summary refs log tree commit diff
path: root/synapse/handlers/sync.py
diff options
context:
space:
mode:
authorMatthew Hodgson <matthew@matrix.org>2018-09-12 16:47:20 +0100
committerMatthew Hodgson <matthew@matrix.org>2018-09-12 16:47:20 +0100
commit0e200e366d568586e8f7f9dd0beb9b53bef86047 (patch)
treea803f4ae0d80ed236bc4b86c189b2030538a1121 /synapse/handlers/sync.py
parentfix logline (diff)
downloadsynapse-0e200e366d568586e8f7f9dd0beb9b53bef86047.tar.xz
correctly log gappy sync metrics
Diffstat (limited to 'synapse/handlers/sync.py')
-rw-r--r--synapse/handlers/sync.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/sync.py b/synapse/handlers/sync.py

index 34729e7f8c..88ef894d6e 100644 --- a/synapse/handlers/sync.py +++ b/synapse/handlers/sync.py
@@ -1698,7 +1698,7 @@ class SyncHandler(object): sync_result_builder.joined.append(room_sync) - if batch.limited: + if batch.limited and since_token: user_id = sync_result_builder.sync_config.user.to_string() logger.info( "Incremental gappy sync of room %s for user %s with %d state events" % (