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

This commit is contained in:
Liang Ding 2022-11-22 10:46:08 +08:00
parent 443c43753f
commit 876e4425bb
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
2 changed files with 4 additions and 0 deletions

View file

@ -235,6 +235,8 @@ func BuildTags() (ret *Tags) {
WaitForWritingFiles()
if !sql.IsEmptyQueue() {
sql.WaitForWritingDatabase()
} else {
util.RandomSleep(200, 500)
}
ret = &Tags{}