diff --git a/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20230805231614-vqn28eh/20210808180303-v9awwp0/20210721112206-mhr9wxi.sy b/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20230805231614-vqn28eh/20210808180303-v9awwp0/20210721112206-mhr9wxi.sy index bdbf62979..2142899bf 100644 --- a/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20230805231614-vqn28eh/20210808180303-v9awwp0/20210721112206-mhr9wxi.sy +++ b/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20230805231614-vqn28eh/20210808180303-v9awwp0/20210721112206-mhr9wxi.sy @@ -1311,7 +1311,7 @@ "Children": [ { "Type": "NodeText", - "Data": "If the data snapshot takes more than 7 seconds before data synchronization, you will be prompted to clean up the data warehouse. If you need to change the default time, you can use the following two methods." + "Data": "If the data snapshot takes more than 12 seconds before data synchronization, you will be prompted to clean up the data warehouse. If you need to change the default time, you can use the following two methods." } ] }, diff --git a/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20230805222417-2lj3dvk/20230808120348-orm8sjf/20230808120347-3cob0nb.sy b/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20230805222417-2lj3dvk/20230808120348-orm8sjf/20230808120347-3cob0nb.sy index 063d7bb62..b7627c1ff 100644 --- a/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20230805222417-2lj3dvk/20230808120348-orm8sjf/20230808120347-3cob0nb.sy +++ b/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20230805222417-2lj3dvk/20230808120348-orm8sjf/20230808120347-3cob0nb.sy @@ -1287,7 +1287,7 @@ "Children": [ { "Type": "NodeText", - "Data": "数据同步前进行数据快照如果耗时超过 7 秒会提示清理数据仓库,如果需要改动默认耗时,可通过如下两种方式" + "Data": "数据同步前进行数据快照如果耗时超过 12 秒会提示清理数据仓库,如果需要改动默认耗时,可通过如下两种方式" } ] }, diff --git a/app/guide/20211226090932-5lcq56f/20211226115423-d5z1joq/20230805232636-zh0adz2/20211226121232-23s79xr/20211226121438-xaafdo8.sy b/app/guide/20211226090932-5lcq56f/20211226115423-d5z1joq/20230805232636-zh0adz2/20211226121232-23s79xr/20211226121438-xaafdo8.sy index 44c1a0596..fdb9fcc17 100644 --- a/app/guide/20211226090932-5lcq56f/20211226115423-d5z1joq/20230805232636-zh0adz2/20211226121232-23s79xr/20211226121438-xaafdo8.sy +++ b/app/guide/20211226090932-5lcq56f/20211226115423-d5z1joq/20230805232636-zh0adz2/20211226121232-23s79xr/20211226121438-xaafdo8.sy @@ -1288,7 +1288,7 @@ "Children": [ { "Type": "NodeText", - "Data": "資料同步前進行資料快照如果耗時超過 7 秒會提示清理資料倉儲,若需要變更預設耗時,可透過以下兩種方式" + "Data": "資料同步前進行資料快照如果耗時超過 12 秒會提示清理資料倉儲,若需要變更預設耗時,可透過以下兩種方式" } ] }, diff --git a/kernel/conf/repo.go b/kernel/conf/repo.go index 6feffba78..a335a2905 100644 --- a/kernel/conf/repo.go +++ b/kernel/conf/repo.go @@ -26,14 +26,14 @@ type Repo struct { Key []byte `json:"key"` // AES 密钥 // 同步索引计时,单位毫秒,超过该时间则提示用户索引性能下降 - // If the data repo indexing time is greater than 7s, prompt user to purge the data repo https://github.com/siyuan-note/siyuan/issues/9613 + // 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 // Supports configuring data sync index time-consuming prompts https://github.com/siyuan-note/siyuan/issues/9698 SyncIndexTiming int64 `json:"syncIndexTiming"` } func NewRepo() *Repo { return &Repo{ - SyncIndexTiming: 7 * 1000, + SyncIndexTiming: 12 * 1000, } } diff --git a/kernel/model/conf.go b/kernel/model/conf.go index 1d3f3fd64..fb61af345 100644 --- a/kernel/model/conf.go +++ b/kernel/model/conf.go @@ -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 {