mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
🎨 Improve init sync stability
This commit is contained in:
parent
317ecdb618
commit
4e69f9596c
2 changed files with 7 additions and 3 deletions
|
|
@ -99,7 +99,7 @@ func InitDatabase(forceRebuild bool) (err error) {
|
|||
}
|
||||
}
|
||||
if gulu.File.IsExist(util.BlockTreePath) {
|
||||
os.RemoveAll(util.BlockTreePath)
|
||||
treenode.InitBlockTree(true)
|
||||
}
|
||||
|
||||
initDBConnection()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue