Selaa lähdekoodia

: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 vuosi sitten
vanhempi
commit
5bc96e05aa
1 muutettua tiedostoa jossa 0 lisäystä ja 1 poistoa
  1. 0 1
      kernel/model/tree.go

+ 0 - 1
kernel/model/tree.go

@@ -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)
 }