mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-22 08:16:10 +01:00
This commit is contained in:
parent
f6dd7722ad
commit
622b6d2c84
12 changed files with 27 additions and 8 deletions
|
|
@ -398,7 +398,7 @@ func Close(force bool, execInstallPkg int) (exitCode int) {
|
|||
WaitForWritingFiles()
|
||||
|
||||
if !force {
|
||||
SyncData(false, true, false)
|
||||
syncData(false, true, false)
|
||||
if 0 != ExitSyncSucc {
|
||||
exitCode = 1
|
||||
return
|
||||
|
|
|
|||
|
|
@ -1220,7 +1220,7 @@ func updateRefText(refNode *ast.Node, changedDefNodes map[string]*ast.Node) (cha
|
|||
func AutoIndexEmbedBlock() {
|
||||
for {
|
||||
task.AppendTask(task.DatabaseIndexEmbedBlock, autoIndexEmbedBlock)
|
||||
time.Sleep(30 * time.Second)
|
||||
time.Sleep(10 * time.Minute)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue