🎨 云端同步上传大量文件时不新增通知 https://github.com/siyuan-note/siyuan/issues/5112

This commit is contained in:
Liang Ding 2022-06-06 22:18:43 +08:00
parent d797291d8e
commit bd259f79d1
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

View file

@ -401,7 +401,7 @@ func ossUpload(isBackup bool, localDirPath, cloudDirPath, cloudDevice string, bo
return
}
if needPushProgress {
util.PushUpdateMsg(msgId, fmt.Sprintf(Conf.Language(104), wroteFiles, len(localUpserts)-wroteFiles), 1000*60*10)
util.PushUpdateMsg(msgId, fmt.Sprintf(Conf.Language(104), wroteFiles, len(localUpserts)-wroteFiles), 1000*60)
}
if boot {
msg := fmt.Sprintf("Uploading data to the cloud %d/%d", wroteFiles, len(localUpserts))