🎨 Automatically loads and indexes from the file system when a block is not found https://github.com/siyuan-note/siyuan/issues/10772

This commit is contained in:
Daniel 2024-03-28 21:54:23 +08:00
parent 2d04decf7e
commit 5bc96e05aa
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -225,6 +225,5 @@ func searchTreeInFilesystem(rootID string) {
treenode.IndexBlockTree(tree)
sql.IndexTreeQueue(tree)
sql.WaitForWritingDatabase()
logging.LogInfof("reindexed tree by filesystem [rootID=%s]", rootID)
}