fix: limit session num

This commit is contained in:
yihaoDeng 2023-02-24 22:44:39 +08:00
parent 9b77e2dfe8
commit 0712198e21
1 changed files with 1 additions and 1 deletions

View File

@ -140,7 +140,7 @@ void *openTransporter(const char *user, const char *auth, int32_t numOfThread) {
memset(&rpcInit, 0, sizeof(rpcInit));
rpcInit.localPort = 0;
rpcInit.label = "TSC";
rpcInit.numOfThreads = numOfThread;
rpcInit.numOfThreads = tsNumOfRpcThreads;
rpcInit.cfp = processMsgFromServer;
rpcInit.rfp = clientRpcRfp;
rpcInit.sessions = 1024;