File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/component Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -62,8 +62,8 @@ public boolean isSingleton() {
6262 public void afterPropertiesSet () throws UnsupportedEncodingException {
6363
6464 PoolingHttpClientConnectionManager connectionManager = new PoolingHttpClientConnectionManager ();
65- connectionManager .setMaxTotal (portalConfig .connectPoolMaxTotal ()); //最大连接数
66- connectionManager .setDefaultMaxPerRoute (portalConfig .connectPoolMaxPerRoute ()); //每个路由(域名)最大连接数
65+ connectionManager .setMaxTotal (portalConfig .connectPoolMaxTotal ());
66+ connectionManager .setDefaultMaxPerRoute (portalConfig .connectPoolMaxPerRoute ());
6767
6868 CloseableHttpClient httpClient = HttpClientBuilder .create ()
6969 .setConnectionTimeToLive (portalConfig .connectionTimeToLive (), TimeUnit .MILLISECONDS )
You can’t perform that action at this time.
0 commit comments