mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 15:10:12 +01:00
🎨 If the data repo indexing time is greater than 12s, prompt user to purge the data repo https://github.com/siyuan-note/siyuan/issues/9613
This commit is contained in:
parent
08a374825f
commit
52943932e9
5 changed files with 7 additions and 7 deletions
|
|
@ -331,8 +331,8 @@ func InitConf() {
|
|||
Conf.Repo.SyncIndexTiming = int64(val)
|
||||
}
|
||||
}
|
||||
if 7000 > Conf.Repo.SyncIndexTiming {
|
||||
Conf.Repo.SyncIndexTiming = 7 * 1000
|
||||
if 12000 > Conf.Repo.SyncIndexTiming {
|
||||
Conf.Repo.SyncIndexTiming = 12 * 1000
|
||||
}
|
||||
|
||||
if nil == Conf.Search {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue