srpc tools: fix default transport_type and retry_max in config (#415)
Some checks failed
ci build / ubuntu (push) Has been cancelled
ci build / fedora (push) Has been cancelled
ci build / bazel (push) Has been cancelled

This commit is contained in:
liyingxin 2024-12-16 19:29:01 +08:00 committed by GitHub
parent 3ca4a40da2
commit 3796acb33f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -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"(

View File

@ -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();