-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dvovk/updsync #9134
dvovk/updsync #9134
Conversation
turbo/snapshotsync/snapshotsync.go
Outdated
}) | ||
|
||
log.Info(fmt.Sprintf("[%s] download finished", logPrefix), "time", time.Since(downloadStartTime).String()) | ||
break Loop | ||
} else { | ||
isDiagEnabled := diagnostics.TypeOf(diagnostics.SyncStagesList{}).Enabled() | ||
if isDiagEnabled { | ||
diagnostics.Send(diagnostics.SyncStagesList{Stages: stagesIdsList}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
don't understand meaning of this line
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed check
}) | ||
|
||
log.Info(fmt.Sprintf("[%s] download finished", logPrefix), "time", time.Since(downloadStartTime).String()) | ||
break Loop | ||
} else { | ||
diagnostics.Send(diagnostics.SyncStagesList{Stages: stagesIdsList}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don’t understand meaning of this line
refactored data structure for sync statistics