mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-24 02:20:13 +01:00
⚡ 改进书签和标签面板加载速度 https://github.com/siyuan-note/siyuan/issues/6677
This commit is contained in:
parent
8652c4cef7
commit
443c43753f
1 changed files with 3 additions and 1 deletions
|
|
@ -233,7 +233,9 @@ type Tags []*Tag
|
||||||
|
|
||||||
func BuildTags() (ret *Tags) {
|
func BuildTags() (ret *Tags) {
|
||||||
WaitForWritingFiles()
|
WaitForWritingFiles()
|
||||||
sql.WaitForWritingDatabase()
|
if !sql.IsEmptyQueue() {
|
||||||
|
sql.WaitForWritingDatabase()
|
||||||
|
}
|
||||||
|
|
||||||
ret = &Tags{}
|
ret = &Tags{}
|
||||||
labels := labelTags()
|
labels := labelTags()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue