Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
Daniel 2026-04-19 20:47:17 +08:00
parent d24e512f63
commit 039128e21c
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -46,6 +46,7 @@ var (
)
// checkIndex 自动校验数据库索引,仅在数据同步执行完成后执行一次。
// Index fixing should not be performed before data synchronization https://github.com/siyuan-note/siyuan/issues/10761
func checkIndex() {
checkIndexOnce.Do(func() {
if util.ContainerAndroid == util.Container || util.ContainerIOS == util.Container || util.ContainerHarmony == util.Container {