correctly log gappy sync metrics

This commit is contained in:
Matthew Hodgson 2018-09-12 16:47:20 +01:00
parent 11bfc2af1c
commit 0e200e366d

View File

@ -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" % (