mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-23 18:10:12 +01:00
⚡ Improve performance for data indexing https://github.com/siyuan-note/siyuan/issues/12777
This commit is contained in:
parent
2da4a885ef
commit
475155b7df
14 changed files with 17 additions and 62 deletions
|
|
@ -207,10 +207,7 @@ type Tags []*Tag
|
|||
|
||||
func BuildTags() (ret *Tags) {
|
||||
WaitForWritingFiles()
|
||||
|
||||
if !sql.IsEmptyQueue() {
|
||||
sql.WaitForWritingDatabase()
|
||||
}
|
||||
sql.FlushQueue()
|
||||
|
||||
ret = &Tags{}
|
||||
labels := labelTags()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue