Skip to content

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

:bug: 启动后会生成一次全量数据历史文件 Fix https://github.com/siyuan-note/siyuan/issues/5689

Liang Ding30b020a65bf9
diff --git a/kernel/model/conf.go b/kernel/model/conf.go
index ef67a8cecc..6d602a7031 100644
--- a/kernel/model/conf.go
+++ b/kernel/model/conf.go
@@ -510,6 +510,8 @@ func InitBoxes() {
}
for _, box := range Conf.GetOpenedBoxes() {
+ box.UpdateHistoryGenerated() // 初始化历史生成时间为当前时间
+
if !initialized {
box.Index(true)
}