index.rebuildInterval modify to 6h
This commit is contained in:
parent
a46824c8ab
commit
19890460b9
|
@ -93,7 +93,7 @@ func Parse(conf string) error {
|
||||||
viper.SetDefault("migrate.maxIdle", 32)
|
viper.SetDefault("migrate.maxIdle", 32)
|
||||||
|
|
||||||
viper.SetDefault("index.activeDuration", 90000) //索引最大的保留时间,超过此数值,索引不会被重建,默认是1天+1小时
|
viper.SetDefault("index.activeDuration", 90000) //索引最大的保留时间,超过此数值,索引不会被重建,默认是1天+1小时
|
||||||
viper.SetDefault("index.rebuildInterval", 43200) //重建索引的周期,单位为秒,默认是半天
|
viper.SetDefault("index.rebuildInterval", 21600) //重建索引的周期,单位为秒,默认是6h
|
||||||
viper.SetDefault("index.hbsMod", "monapi") //获取index心跳的模块
|
viper.SetDefault("index.hbsMod", "monapi") //获取index心跳的模块
|
||||||
|
|
||||||
viper.SetDefault("rpcClient", map[string]int{
|
viper.SetDefault("rpcClient", map[string]int{
|
||||||
|
|
Loading…
Reference in New Issue