mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-10 06:32:33 +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
|
|
@ -612,7 +612,7 @@ func Close(force, setCurrentWorkspace bool, execInstallPkg int) (exitCode int) {
|
|||
closeUserGuide()
|
||||
|
||||
// Improve indexing completeness when exiting https://github.com/siyuan-note/siyuan/issues/12039
|
||||
sql.WaitForWritingDatabaseIn(200 * time.Millisecond)
|
||||
sql.FlushQueue()
|
||||
|
||||
util.IsExiting.Store(true)
|
||||
waitSecondForExecInstallPkg := false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue