mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-03 11:20:16 +01:00
🎨 优化云端同步上传资源占用和耗时 https://github.com/siyuan-note/siyuan/issues/5093
This commit is contained in:
parent
770686f5c0
commit
52f1dc210b
1 changed files with 1 additions and 1 deletions
|
|
@ -236,6 +236,7 @@ func ossDownload(localDirPath, cloudDirPath string, bootOrExit bool) (fetchedFil
|
||||||
}
|
}
|
||||||
if "/"+pathJSON == fetch {
|
if "/"+pathJSON == fetch {
|
||||||
// 已经在前面验证解密的步骤中下载过了,目前位于 temp/sync/pathJSON
|
// 已经在前面验证解密的步骤中下载过了,目前位于 temp/sync/pathJSON
|
||||||
|
fetchedFilesCount++
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -255,7 +256,6 @@ func ossDownload(localDirPath, cloudDirPath string, bootOrExit bool) (fetchedFil
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if needPushProgress {
|
if needPushProgress {
|
||||||
util.ClearPushProgress(len(cloudFetches))
|
util.ClearPushProgress(len(cloudFetches))
|
||||||
util.PushMsg(Conf.Language(106), 1000*60*10)
|
util.PushMsg(Conf.Language(106), 1000*60*10)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue