This commit is contained in:
Daniel 2024-01-10 09:48:14 +08:00
parent 2aefead3f0
commit 2ad1662877
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
2 changed files with 125 additions and 0 deletions

View file

@ -517,6 +517,8 @@ var (
)
func getIndexIgnoreLines() (ret []string) {
// Support ignore index https://github.com/siyuan-note/siyuan/issues/9198
now := time.Now().UnixMilli()
if now-indexIgnoreLastModified < 30*1000 {
return indexIgnore