Skip to content

Commit f02c7bb

Browse files
committed
Add setter for connectionPoolCleanerPeriod in AsyncHttpClient Builder
1 parent 304a1f5 commit f02c7bb

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

client/src/main/java/org/asynchttpclient/DefaultAsyncHttpClientConfig.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -949,6 +949,11 @@ public Builder setPooledConnectionIdleTimeout(int pooledConnectionIdleTimeout) {
949949
return this;
950950
}
951951

952+
public Builder setConnectionPoolCleanerPeriod(int connectionPoolCleanerPeriod) {
953+
this.connectionPoolCleanerPeriod = connectionPoolCleanerPeriod;
954+
return this;
955+
}
956+
952957
public Builder setConnectionTtl(int connectionTtl) {
953958
this.connectionTtl = connectionTtl;
954959
return this;

0 commit comments

Comments
 (0)