mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-10-01 08:25:44 -04:00
correctly log gappy sync metrics
This commit is contained in:
parent
11bfc2af1c
commit
0e200e366d
@ -1698,7 +1698,7 @@ class SyncHandler(object):
|
|||||||
|
|
||||||
sync_result_builder.joined.append(room_sync)
|
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()
|
user_id = sync_result_builder.sync_config.user.to_string()
|
||||||
logger.info(
|
logger.info(
|
||||||
"Incremental gappy sync of room %s for user %s with %d state events" % (
|
"Incremental gappy sync of room %s for user %s with %d state events" % (
|
||||||
|
Loading…
Reference in New Issue
Block a user