Skip to content

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

:art: 虚拟引用关键字缓存调整为 10 分钟 Fix https://github.com/siyuan-note/siyuan/issues/6602

Liang Dingcaf1180aff9d
diff --git a/kernel/sql/cache.go b/kernel/sql/cache.go
index 9b928d7266..ff12788131 100644
--- a/kernel/sql/cache.go
+++ b/kernel/sql/cache.go
@@ -77,6 +77,7 @@ func getVirtualRefKeywordsCache() ([]string, bool) {
return nil, false
}
+ // 虚拟引用关键字缓存调整为 10 分钟 https://github.com/siyuan-note/siyuan/issues/6602
if 10 < time.Now().Sub(virtualRefKeywordsCacheTime).Minutes() {
ClearVirtualRefKeywords()
return nil, false