Skip to content

Commit d3532d7

Browse files
committed
remove unused config setting
1 parent c835e02 commit d3532d7

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

src/test/java/com/aliyun/openservices/ots/integration/OTSClientFactory.java

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,8 @@ public static OTS createOTSClient() {
2020

2121
public static OTS createOTSClient(ServiceSettings ss){
2222
ClientConfiguration config = new ClientConfiguration();
23-
config.setConnectionTimeoutInMillisecond(60 * 1000);
24-
config.setSocketTimeoutInMillisecond(60 * 1000);
25-
config.setRetryThreadCount(3);
26-
config.setIoThreadCount(8);
27-
config.setMaxConnections(50);
23+
config.setConnectionTimeoutInMillisecond(30 * 1000);
24+
config.setSocketTimeoutInMillisecond(30 * 1000);
2825

2926
return createOTSClient(ss, config);
3027
}
@@ -98,4 +95,4 @@ public static OTSAsync createOTSClientAsync(ServiceSettings ss, ClientConfigurat
9895
return new OTSClientAsync(otsEndpoint, accessKeyId, accessKeySecret, instanceName, config, serviceConfig, pool);
9996
}
10097

101-
}
98+
}

0 commit comments

Comments
 (0)