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 Dinge44bf92c63e2
diff --git a/kernel/task/queue.go b/kernel/task/queue.goindex 71991fc8fa..0a96bcb559 100644--- a/kernel/task/queue.go+++ b/kernel/task/queue.go@@ -52,7 +52,6 @@ func PrependTask(action string, handler interface{}, args ...interface{}) {return}- cancelTask(action)taskQueue = append([]*Task{newTask(action, handler, args...)}, taskQueue...)}@@ -65,7 +64,6 @@ func AppendTask(action string, handler interface{}, args ...interface{}) {return}- cancelTask(action)taskQueue = append(taskQueue, newTask(action, handler, args...))}@@ -73,10 +71,6 @@ func CancelTask(actions ...string) {queueLock.Lock()defer queueLock.Unlock()- cancelTask(actions...)-}--func cancelTask(actions ...string) {for i := len(taskQueue) - 1; i >= 0; i-- {task := taskQueue[i]for _, action := range actions {