feat: rpc add health check function configuration optional (#2288)
* feat: rpc add health check function configuration optional * update config field name
This commit is contained in:
@@ -19,6 +19,8 @@ type (
|
||||
// setting 0 means no timeout
|
||||
Timeout int64 `json:",default=2000"`
|
||||
CpuThreshold int64 `json:",default=900,range=[0:1000]"`
|
||||
// grpc health check switch
|
||||
Health bool `json:",default=true"`
|
||||
}
|
||||
|
||||
// A RpcClientConf is a rpc client config.
|
||||
|
||||
Reference in New Issue
Block a user