🎨 Sync 计时

This commit is contained in:
Liang Ding 2022-07-31 22:12:51 +08:00
parent a2e4f504a5
commit c3f6c389fb
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

View file

@ -488,6 +488,7 @@ func syncRepo(boot, exit, byHand bool) (err error) {
return
}
start := time.Now()
indexBeforeSync, err := indexRepoBeforeCloudSync(repo)
if nil != err {
syncDownloadErrCount++
@ -495,7 +496,6 @@ func syncRepo(boot, exit, byHand bool) (err error) {
return
}
start := time.Now()
cloudInfo, err := buildCloudInfo()
if nil != err {
return