mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
🎨 Improve sql tx queue lock https://github.com/siyuan-note/siyuan/issues/14532
This commit is contained in:
parent
9729b72a9e
commit
669dfb7d58
2 changed files with 11 additions and 2 deletions
|
|
@ -305,6 +305,8 @@ func SearchTags(keyword string) (ret []string) {
|
|||
ret = []string{}
|
||||
defer logging.Recover() // 定位 无法添加题头图标签 https://github.com/siyuan-note/siyuan/issues/6756
|
||||
|
||||
sql.FlushQueue()
|
||||
|
||||
labels := labelBlocksByKeyword(keyword)
|
||||
for label := range labels {
|
||||
_, t := search.MarkText(label, keyword, 1024, Conf.Search.CaseSensitive)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue