chore: reorg imports, format code, make MaxRetires default to 0 (#1165)
* chore: reverse the order of stopping services * chore: reverse the order of stopping services * chore: reorg imports, format code * chore: format code, and refactor * feat: change MaxRetries default to 0, disable retry
This commit is contained in:
@@ -18,7 +18,7 @@ type (
|
||||
// setting 0 means no timeout
|
||||
Timeout int64 `json:",default=2000"`
|
||||
CpuThreshold int64 `json:",default=900,range=[0:1000]"`
|
||||
MaxRetries int `json:",range=[0:]"`
|
||||
MaxRetries int `json:",default=0,range=[0:]"`
|
||||
}
|
||||
|
||||
// A RpcClientConf is a rpc client config.
|
||||
|
||||
Reference in New Issue
Block a user