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 Ding430bf34dfb05
diff --git a/kernel/sql/queue.go b/kernel/sql/queue.goindex 88bffb3474..1b8e5f6db2 100644--- a/kernel/sql/queue.go+++ b/kernel/sql/queue.go@@ -21,6 +21,7 @@ import ("errors""fmt""path"+ "runtime""sync""time"@@ -125,6 +126,10 @@ func FlushQueue() {logging.LogErrorf("commit tx failed: %s", err)return}++ if 16 < i && 0 == i%256 {+ runtime.GC()+ }}elapsed := time.Now().Sub(start).Milliseconds()