Browse Source

连接池配置

liuam 7 years ago
parent
commit
f9e773ac2c
2 changed files with 5 additions and 5 deletions
  1. 2 2
      pom.xml
  2. 3 3
      src/main/resources/config/application-dev.properties

+ 2 - 2
pom.xml

@@ -46,7 +46,7 @@
         <dependency>
             <groupId>org.apache.httpcomponents</groupId>
             <artifactId>httpclient</artifactId>
-            <version>4.4</version>
+            <version>4.5.6</version>
         </dependency>
         <dependency>
             <groupId>org.apache.httpcomponents</groupId>
@@ -56,7 +56,7 @@
         <dependency>
             <groupId>org.apache.httpcomponents</groupId>
             <artifactId>httpmime</artifactId>
-            <version>4.4</version>
+            <version>4.5.6</version>
         </dependency>
 
         <dependency>

+ 3 - 3
src/main/resources/config/application-dev.properties

@@ -32,13 +32,13 @@ message.senderEnuu=10043516
 http.asyncConnectTimeout=30000
 http.asyncSocketTimeout=30000
 http.asyncConnectionRequestTimeout=10000
-http.asyncConnectNum=50
+http.asyncConnectNum=500
 http.asyncConnectPerRoute=10
-http.asyncIoThreadCount=50
+http.asyncIoThreadCount=500
 http.syncConnectTimeout=60000
 http.syncSocketTimeout=60000
 http.syncConnectionRequestTimeout=10000
 http.syncConnectPerRoute=10
-http.syncConnectNum=50
+http.syncConnectNum=500