Skip to content

Commit

Permalink
Fix RPC server default params.
Browse files Browse the repository at this point in the history
  • Loading branch information
Barenboim committed Mar 6, 2024
1 parent c5aea77 commit fd44a0a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/rpc_options.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,10 @@ struct RPCClientParams

struct RPCServerParams : public WFServerParams
{
RPCServerParams() :
WFServerParams(SERVER_PARAMS_DEFAULT)
{}
RPCServerParams() : WFServerParams(SERVER_PARAMS_DEFAULT)
{
this->request_size_limit = RPC_BODY_SIZE_LIMIT;
}
};

static constexpr struct RPCTaskParams RPC_TASK_PARAMS_DEFAULT =
Expand Down

0 comments on commit fd44a0a

Please sign in to comment.