Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix ./polaris.yaml default example #223

Merged
merged 1 commit into from
Dec 11, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions polaris.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ global:
#类型:string
#格式:^\d+(ms|s|m|h)$
#范围:[1ms:...]
#默认值:200ms
#默认值:500ms
connectTimeout: 500ms
#描述:远程请求超时时间
#类型:string
Expand Down Expand Up @@ -194,7 +194,7 @@ consumer:
#类型:string
#格式:^\d+(ms|s|m|h)$
#范围:[1ms:...]
#默认值:1s
#默认值:60s
persistAvailableInterval: 60s
#描述:启动后,首次名字服务是否可以使用缓存文件
#类型:bool
Expand Down Expand Up @@ -223,9 +223,15 @@ consumer:
#默认值:zone
matchLevel: zone
ruleBasedRouter: {}
#至少应该返回多少比率的实例,如果不填,默认0%,即全死全活
#描述:至少应该返回多少比率的实例,如果不填,默认0%,即全死全活
#类型:float64
#范围:[0:...1.0]
#默认值:0
percentOfMinInstances: 0
#是否开启全死全活,默认开启
#描述:是否开启全死全活,默认开启
#类型:bool
#范围:[true: false]
#默认值:true
enableRecoverAll: true
#描述:负载均衡相关配置
loadbalancer:
Expand Down
Loading