🎨 Do not perform check index on mobile https://ld246.com/article/1734939896061 https://github.com/siyuan-note/siyuan/issues/10761
This commit is contained in:
parent
64c2b6a2a2
commit
6f443be578
1 changed files with 5 additions and 0 deletions
|
@ -48,6 +48,11 @@ var (
|
|||
// checkIndex 自动校验数据库索引,仅在数据同步执行完成后执行一次。
|
||||
func checkIndex() {
|
||||
checkIndexOnce.Do(func() {
|
||||
if util.ContainerAndroid == util.Container || util.ContainerIOS == util.Container || util.ContainerHarmony == util.Container {
|
||||
// 移动端不执行校验 https://ld246.com/article/1734939896061
|
||||
return
|
||||
}
|
||||
|
||||
logging.LogInfof("start checking index...")
|
||||
|
||||
removeDuplicateDatabaseIndex()
|
||||
|
|
Loading…
Add table
Reference in a new issue