Update HttpClientManager.java (#9477)

fix #9474
This commit is contained in:
zz630 2022-11-22 09:50:22 +08:00 committed by GitHub
parent 2ec89ae50b
commit 7ce4dcc22c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -161,7 +161,7 @@ public class HttpClientManager {
protected HttpClientConfig buildHttpClientConfig() {
return HttpClientConfig.builder().setConnectionRequestTimeout(500).setReadTimeOutMillis(500)
.setConTimeOutMillis(500).setIoThreadCount(1).setContentCompressionEnabled(false).setMaxRedirects(0)
.setMaxConnTotal(-1).setMaxConnPerRoute(-1).setUserAgent("VIPServer").build();
.setMaxConnTotal(5000).setMaxConnPerRoute(-1).setUserAgent("VIPServer").build();
}
@Override