We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c94be96 commit a53fd48Copy full SHA for a53fd48
rpc-client/src/main/java/com/antgroup/tugraph/TuGraphDbRpcClient.java
@@ -363,6 +363,7 @@ private static class TuGraphSingleRpcClient {
363
364
public TuGraphSingleRpcClient(String url, String user, String pass) {
365
RpcClientOptions options = new RpcClientOptions();
366
+ options.setMaxTotalConnections(100);
367
options.setProtocolType(Options.ProtocolType.PROTOCOL_BAIDU_STD_VALUE);
368
options.setLoadBalanceType(LoadBalanceStrategy.LOAD_BALANCE_FAIR);
369
options.setWriteTimeoutMillis(TIMEOUTINMS);
0 commit comments