Skip to content

Commit b325ba1

Browse files
committed
0.10.15
1 parent d9105c0 commit b325ba1

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

.gitattributes

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* text=auto

pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>com.baidubce</groupId>
88
<artifactId>bce-java-sdk</artifactId>
9-
<version>0.10.14</version>
9+
<version>0.10.15</version>
1010
<name>bce-sdk-java</name>
1111
<description>The BCE SDK for Java provides Java APIs for all of BCE services.</description>
1212
<url>http://bce.baidu.com/sdk/index.html</url>

src/main/java/com/baidubce/BceConstants.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@
1616
* Common constants used by the whole SDK.
1717
*/
1818
public class BceConstants {
19-
public static final String VERSION = "0.10.14";
19+
public static final String VERSION = "0.10.15";
2020
}

src/main/java/com/baidubce/http/IdleConnectionReaper.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public final class IdleConnectionReaper extends Thread {
4444
/**
4545
* The period between invocations of the idle connection reaper.
4646
*/
47-
private static final int PERIOD_IN_MILLIS = 60 * 1000;
47+
private static final int PERIOD_IN_MILLIS = 20 * 1000;
4848

4949
/**
5050
* The list of registered connection managers, whose connections will be periodically checked and idle connections
@@ -111,7 +111,7 @@ public void run() {
111111
// than block/lock while this loop executes).
112112
List<HttpClientConnectionManager> connectionManagers = null;
113113
synchronized (IdleConnectionReaper.class) {
114-
connectionManagers = Lists.newArrayList(connectionManagers);
114+
connectionManagers = Lists.newArrayList(this.connectionManagers);
115115
}
116116
for (HttpClientConnectionManager connectionManager : connectionManagers) {
117117
// When we release connections, the connection manager leaves them

0 commit comments

Comments
 (0)