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

This commit is contained in:
Liang Ding
2022-11-18 00:11:37 +08:00
parent fee4811031
commit caf1180aff

View File

@@ -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