mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-20 11:00:52 +08:00
This commit is contained in:
parent
dc112fd56c
commit
72dd9192ae
@ -1264,7 +1264,7 @@ func autoFixIndex() {
|
|||||||
|
|
||||||
btUpdated, _ := time.Parse("20060102150405", updated)
|
btUpdated, _ := time.Parse("20060102150405", updated)
|
||||||
dbUpdated, _ := time.Parse("20060102150405", rootUpdated)
|
dbUpdated, _ := time.Parse("20060102150405", rootUpdated)
|
||||||
if dbUpdated.Before(btUpdated.Add(-1 * time.Minute)) {
|
if dbUpdated.Before(btUpdated.Add(-10 * time.Minute)) {
|
||||||
logging.LogWarnf("tree [%s] is not up to date, reindex it", rootID)
|
logging.LogWarnf("tree [%s] is not up to date, reindex it", rootID)
|
||||||
reindexTree(rootID, i, size)
|
reindexTree(rootID, i, size)
|
||||||
continue
|
continue
|
||||||
|
Loading…
Reference in New Issue
Block a user