mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-24 16:04:06 +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
|
|
@ -660,7 +660,7 @@ func checkoutRepo(id string) {
|
|||
task.AppendTask(task.DatabaseIndexFull, fullReindex)
|
||||
task.AppendTask(task.DatabaseIndexRef, IndexRefs)
|
||||
go func() {
|
||||
sql.WaitForWritingDatabase()
|
||||
sql.FlushQueue()
|
||||
ResetVirtualBlockRefCache()
|
||||
}()
|
||||
task.AppendTask(task.ReloadUI, util.ReloadUIResetScroll)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue