Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: Improve the status bar index creation information prompt https://github.com/siyuan-note/siyuan/issues/15390

Daniel2a07997ba284
diff --git a/kernel/job/cron.go b/kernel/job/cron.go
index 1bd3179340..2610cae76c 100644
--- a/kernel/job/cron.go
+++ b/kernel/job/cron.go
@@ -29,7 +29,7 @@ import (
func StartCron() {
go every(100*time.Millisecond, task.ExecTaskJob)
go every(100*time.Millisecond, task.ExecAsyncTaskJob)
- go every(5*time.Second, task.StatusJob)
+ go every(7*time.Second, task.StatusJob)
go every(5*time.Second, model.SyncDataJob)
go every(2*time.Hour, model.StatJob)
go every(6*time.Hour, util.RefreshRhyResultJob, "RefreshRhyResultJob")
diff --git a/kernel/model/box.go b/kernel/model/box.go
index abd9ad823f..2d2e5742f3 100644
--- a/kernel/model/box.go
+++ b/kernel/model/box.go
@@ -679,6 +679,7 @@ func FullReindex() {
func fullReindex() {
pushSQLInsertBlocksFTSMsg = true
defer func() {
+ sql.FlushQueue()
pushSQLInsertBlocksFTSMsg = false
}()