An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: 改进内核任务调度机制提升稳定性 https://github.com/siyuan-note/siyuan/issues/7113
Liang Dinge214543c86b8
diff --git a/kernel/model/import.go b/kernel/model/import.goindex 941cc1ab1a..3dd5dc16d2 100644--- a/kernel/model/import.go+++ b/kernel/model/import.go@@ -31,7 +31,7 @@ import ("os""path""path/filepath"- "runtime/debug"+ "runtime""sort""strconv""strings"@@ -708,8 +708,9 @@ func ImportFromLocalPath(boxID, localPath string, toPath string) (err error) {}IncSync()}- debug.FreeOSMemory()+IncSync()+ runtime.GC()return}diff --git a/kernel/model/mount.go b/kernel/model/mount.goindex 1b7c6b74ab..06b419bfbc 100644--- a/kernel/model/mount.go+++ b/kernel/model/mount.go@@ -21,7 +21,6 @@ import ("fmt""os""path/filepath"- "runtime/debug""strings""time""unicode/utf8"@@ -132,7 +131,6 @@ func unmount0(boxID string) {boxConf.Closed = truebox.SaveConf(boxConf)box.Unindex()- debug.FreeOSMemory()}func Mount(boxID string) (alreadyMount bool, err error) {