Skip to content

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

:art: 改进内核任务调度机制提升稳定性 https://github.com/siyuan-note/siyuan/issues/7113

Liang Ding85481e50eea5
diff --git a/kernel/model/index.go b/kernel/model/index.go
index aa1a3815b4..424eedfee0 100644
--- a/kernel/model/index.go
+++ b/kernel/model/index.go
@@ -203,7 +203,7 @@ func init() {
return
}
- current := context["current"]
+ current := context["current"].(int) + 1
total := context["total"]
msg := fmt.Sprintf(Conf.Language(90), current, total, blockCount, hash)
util.SetBootDetails(msg)