提交 19890460 编写于 作者: U Ulric Qin

index.rebuildInterval modify to 6h

上级 a46824c8
......@@ -93,7 +93,7 @@ func Parse(conf string) error {
viper.SetDefault("migrate.maxIdle", 32)
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("rpcClient", map[string]int{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册