Browse Source

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

Daniel 1 năm trước cách đây
mục cha
commit
5bc96e05aa
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  1. 0 1
      kernel/model/tree.go

+ 0 - 1
kernel/model/tree.go

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