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: Improve kernel stability by eliminating some data races https://github.com/siyuan-note/siyuan/issues/9842
Danield143c3043043
diff --git a/kernel/model/repository.go b/kernel/model/repository.goindex 35537b8932..f4e2b343a4 100644--- a/kernel/model/repository.go+++ b/kernel/model/repository.go@@ -1605,8 +1605,10 @@ func subscribeRepoEvents() {})eventbus.Subscribe(eventbus.EvtIndexUpsertFile, func(context map[string]interface{}, count int, total int) {msg := fmt.Sprintf(Conf.Language(160), count, total)- util.SetBootDetails(msg)- util.ContextPushMsg(context, msg)+ if 0 == count%32 {+ util.SetBootDetails(msg)+ util.ContextPushMsg(context, msg)+ }})eventbus.Subscribe(eventbus.EvtCheckoutBeforeWalkData, func(context map[string]interface{}, path string) {@@ -1756,6 +1758,9 @@ func subscribeRepoEvents() {util.SetBootDetails(msg)util.ContextPushMsg(context, msg)})+ eventbus.Subscribe(eventbus.EvtCloudCorrupted, func() {+ util.PushErrMsg(Conf.language(220), 30000)+ })}func buildCloudConf() (ret *cloud.Conf, err error) {