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: Data synchronization supports the multi-kernel online perception https://github.com/siyuan-note/siyuan/issues/8518
Daniel84d551bdd59f
diff --git a/kernel/model/repository.go b/kernel/model/repository.goindex 45474dd5a6..af27440d71 100644--- a/kernel/model/repository.go+++ b/kernel/model/repository.go@@ -1167,8 +1167,8 @@ func syncRepo(exit, byHand bool) (err error) {msg := fmt.Sprintf(Conf.Language(150), trafficStat.UploadFileCount, trafficStat.DownloadFileCount, trafficStat.UploadChunkCount, trafficStat.DownloadChunkCount, humanize.Bytes(uint64(trafficStat.UploadBytes)), humanize.Bytes(uint64(trafficStat.DownloadBytes)))Conf.Sync.Stat = msgautoSyncErrCount = 0- logging.LogInfof("synced data repo [provider=%d, ufc=%d, dfc=%d, ucc=%d, dcc=%d, ub=%s, db=%s] in [%.2fs]",- Conf.Sync.Provider, trafficStat.UploadFileCount, trafficStat.DownloadFileCount, trafficStat.UploadChunkCount, trafficStat.DownloadChunkCount, humanize.Bytes(uint64(trafficStat.UploadBytes)), humanize.Bytes(uint64(trafficStat.DownloadBytes)), elapsed.Seconds())+ logging.LogInfof("synced data repo [kernel=%s, provider=%d, ufc=%d, dfc=%d, ucc=%d, dcc=%d, ub=%s, db=%s] in [%.2fs]",+ kernelID, Conf.Sync.Provider, trafficStat.UploadFileCount, trafficStat.DownloadFileCount, trafficStat.UploadChunkCount, trafficStat.DownloadChunkCount, humanize.Bytes(uint64(trafficStat.UploadBytes)), humanize.Bytes(uint64(trafficStat.DownloadBytes)), elapsed.Seconds())processSyncMergeResult(exit, byHand, start, mergeResult)returndiff --git a/kernel/model/sync.go b/kernel/model/sync.goindex a324998086..b9f7a75137 100644--- a/kernel/model/sync.go+++ b/kernel/model/sync.go@@ -689,7 +689,7 @@ func connectSyncWebSocket() {return}- logging.LogInfof("connecting sync websocket...")+ //logging.LogInfof("connecting sync websocket...")var dialErr errorwebSocketConn, dialErr = dialSyncWebSocket()if nil != dialErr {