mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-19 16:10:12 +01:00
🎨 虚拟引用关键字缓存调整为 10 分钟 Fix https://github.com/siyuan-note/siyuan/issues/6602
This commit is contained in:
parent
fee4811031
commit
caf1180aff
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue