mirror of
https://gitee.com/sogou/srpc.git
synced 2024-12-21 16:14:54 +08:00
srpc tools: fix default transport_type and retry_max in config (#415)
This commit is contained in:
parent
3ca4a40da2
commit
3796acb33f
@ -415,7 +415,7 @@ static std::string ctl_client_load_params_format = R"(
|
||||
params.callee_timeout = config.client_callee_timeout();
|
||||
params.caller = config.client_caller();
|
||||
|
||||
params.task_params.retry_max = config.client_retry_max();
|
||||
params.task_params.retry_max = config.retry_max();
|
||||
)";
|
||||
|
||||
static std::string ctl_client_main_params_format = R"(
|
||||
|
@ -59,7 +59,7 @@ public:
|
||||
|
||||
public:
|
||||
RPCConfig() :
|
||||
s_port(0), c_port(0), c_is_ssl(false), c_redirect_max(0), c_retry_max(0)
|
||||
s_port(0), c_transport_type(TT_TCP), c_port(0), c_is_ssl(false), c_redirect_max(0), c_retry_max(0)
|
||||
{ }
|
||||
~RPCConfig();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user