浏览代码

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

Liang Ding 2 年之前
父节点
当前提交
caf1180aff
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      kernel/sql/cache.go

+ 1 - 0
kernel/sql/cache.go

@@ -77,6 +77,7 @@ func getVirtualRefKeywordsCache() ([]string, bool) {
 		return nil, false
 		return nil, false
 	}
 	}
 
 
+	// 虚拟引用关键字缓存调整为 10 分钟 https://github.com/siyuan-note/siyuan/issues/6602
 	if 10 < time.Now().Sub(virtualRefKeywordsCacheTime).Minutes() {
 	if 10 < time.Now().Sub(virtualRefKeywordsCacheTime).Minutes() {
 		ClearVirtualRefKeywords()
 		ClearVirtualRefKeywords()
 		return nil, false
 		return nil, false