Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: Reset virtual block ref cache after indexing refs https://github.com/siyuan-note/siyuan/issues/10842

Danieldec9831a2124
diff --git a/kernel/model/index.go b/kernel/model/index.go
index 6f2a06826b..710f77330d 100644
--- a/kernel/model/index.go
+++ b/kernel/model/index.go
@@ -268,6 +268,8 @@ func IndexRefs() {
}
logging.LogInfof("resolved refs [%d] in [%dms]", size, time.Now().Sub(start).Milliseconds())
util.PushStatusBar(fmt.Sprintf(Conf.Language(55), i))
+
+ ResetVirtualBlockRefCache()
}
// IndexEmbedBlockJob 嵌入块支持搜索 https://github.com/siyuan-note/siyuan/issues/7112