mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-12 18:24:21 +01:00
🎨 Automatic check of database indexes is only performed once after startup https://github.com/siyuan-note/siyuan/issues/10563
This commit is contained in:
parent
9989d79060
commit
aeb09cb0f6
4 changed files with 4 additions and 3 deletions
|
|
@ -40,8 +40,8 @@ import (
|
|||
"github.com/siyuan-note/siyuan/kernel/util"
|
||||
)
|
||||
|
||||
// FixIndexJob 自动校验数据库索引 https://github.com/siyuan-note/siyuan/issues/7016
|
||||
func FixIndexJob() {
|
||||
// CheckIndex 自动校验数据库索引 https://github.com/siyuan-note/siyuan/issues/7016 https://github.com/siyuan-note/siyuan/issues/10563
|
||||
func CheckIndex() {
|
||||
task.AppendTask(task.DatabaseIndexFix, removeDuplicateDatabaseIndex)
|
||||
sql.WaitForWritingDatabase()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue