提交 cfc9bb1e 编写于 作者: dengyihao's avatar dengyihao

opt transport opt

上级 bda24a01
......@@ -284,9 +284,9 @@ int32_t dmInitClient(SDnode *pDnode) {
rpcInit.failFastThreshold = 3; // failed threshold
rpcInit.ffp = dmFailFastFp;
int32_t connLimitNum = 10000 / (tsNumOfRpcThreads * 3);
connLimitNum = TMAX(connLimitNum, 100);
connLimitNum = TMIN(connLimitNum, 500);
int32_t connLimitNum = 1000 / (tsNumOfRpcThreads * 3);
connLimitNum = TMAX(connLimitNum, 10);
connLimitNum = TMIN(connLimitNum, 100);
rpcInit.connLimitNum = connLimitNum;
rpcInit.connLimitLock = 1;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册