🔊 细化云端同步日志

This commit is contained in:
Liang Ding 2022-09-02 00:49:06 +08:00
parent bb7a69e544
commit e767ab73f1
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
2 changed files with 36 additions and 2 deletions

View file

@ -138,8 +138,6 @@ func incReindex(upserts, removes []string) {
util.PushEndlessProgress(msg)
}
logging.LogDebugf("sync reindex [upserts=%d, removes=%d]", len(upserts), len(removes))
// 先执行 remove否则移动文档时 upsert 会被忽略,导致未被索引
bootProgressPart := 10 / float64(len(removes))
for _, removeFile := range removes {