An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:bug: 退出应用时数据库未完全写入 https://github.com/siyuan-note/siyuan/issues/6318
Liang Ding6dde2b15a0f5
diff --git a/kernel/model/conf.go b/kernel/model/conf.goindex 19d47e9a60..ddf7dd4630 100644--- a/kernel/model/conf.go+++ b/kernel/model/conf.go@@ -367,7 +367,7 @@ func Close(force bool, execInstallPkg int) (exitCode int) {wg := sync.WaitGroup{}go func() {wg.Add(1)- time.Sleep(util.FrontendQueueInterval)+ time.Sleep(util.FrontendQueueInterval * 2)WaitForWritingFiles()time.Sleep(50 * time.Millisecond)sql.WaitForWritingDatabase()