Skip to content

Commit 959b53e

Browse files
ironManncuveland
authored andcommitted
stfsender: increase grpc concurrency
1 parent 01211f7 commit 959b53e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/StfSender/StfSenderRpc.cxx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ void StfSenderRpcImpl::start(StfSenderOutput *pOutput, const std::string pRpcSrv
3131
IDDLOG("Starting the gRPC server... ip={}", pRpcSrvBindIp);
3232

3333
ServerBuilder lSrvBuilder;
34+
lSrvBuilder.SetSyncServerOption(ServerBuilder::SyncServerOption::NUM_CQS, 4);
35+
lSrvBuilder.SetSyncServerOption(ServerBuilder::SyncServerOption::MAX_POLLERS, 20);
3436
lSrvBuilder.AddListeningPort(pRpcSrvBindIp + ":0", grpc::InsecureServerCredentials(), &lRealPort);
3537
lSrvBuilder.RegisterService(this);
3638

0 commit comments

Comments
 (0)