Browse Source

:art: 自动校验数据库索引 https://github.com/siyuan-note/siyuan/issues/7016

Liang Ding 2 years ago
parent
commit
99e9fd2632
1 changed files with 0 additions and 3 deletions
  1. 0 3
      kernel/model/transaction.go

+ 0 - 3
kernel/model/transaction.go

@@ -1246,9 +1246,6 @@ func autoFixIndex() {
 		}
 
 		i++
-		if 0 < i && 0 == i%32 {
-			treenode.SaveBlockTree(true)
-		}
 
 		root := sql.GetBlock(rootID)
 		if nil == root {