Skip to content

Commit c5aea77

Browse files
committed
Use SERVER_PARAMS_DEFAULT to initialize.
1 parent 757b437 commit c5aea77

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

src/rpc_options.h

+1-9
Original file line numberDiff line numberDiff line change
@@ -52,15 +52,7 @@ struct RPCClientParams
5252
struct RPCServerParams : public WFServerParams
5353
{
5454
RPCServerParams() :
55-
WFServerParams({
56-
/* .transport_type = */ TT_TCP,
57-
/* .max_connections = */ 2000,
58-
/* .peer_response_timeout = */ 10 * 1000,
59-
/* .receive_timeout = */ -1,
60-
/* .keep_alive_timeout = */ 60 * 1000,
61-
/* .request_size_limit = */ RPC_BODY_SIZE_LIMIT,
62-
/* .ssl_accept_timeout = */ 10 * 1000
63-
})
55+
WFServerParams(SERVER_PARAMS_DEFAULT)
6456
{}
6557
};
6658

0 commit comments

Comments
 (0)