mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
🎨 Improve init sync stability
This commit is contained in:
@@ -99,7 +99,7 @@ func InitDatabase(forceRebuild bool) (err error) {
|
||||
}
|
||||
}
|
||||
if gulu.File.IsExist(util.BlockTreePath) {
|
||||
os.RemoveAll(util.BlockTreePath)
|
||||
treenode.InitBlockTree(true)
|
||||
}
|
||||
|
||||
initDBConnection()
|
||||
|
||||
Reference in New Issue
Block a user