🎨 重复文档时不再等待数据库索引

This commit is contained in:
Liang Ding 2023-01-24 16:03:54 +08:00
parent 3493365fb3
commit 83128d2fd8
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

View file

@ -904,7 +904,7 @@ func DuplicateDoc(rootID string) (ret *parse.Tree, err error) {
resetTree(ret, "Duplicated")
createTreeTx(ret)
sql.WaitForWritingDatabase()
WaitForWritingFiles()
return
}