改进书签和标签面板加载速度 https://github.com/siyuan-note/siyuan/issues/6677

This commit is contained in:
Liang Ding 2022-11-22 10:40:54 +08:00
parent 8652c4cef7
commit 443c43753f
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

View file

@ -233,7 +233,9 @@ type Tags []*Tag
func BuildTags() (ret *Tags) {
WaitForWritingFiles()
sql.WaitForWritingDatabase()
if !sql.IsEmptyQueue() {
sql.WaitForWritingDatabase()
}
ret = &Tags{}
labels := labelTags()