We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2568358 commit 3597d65Copy full SHA for 3597d65
src/main/java/com/qiniu/http/Client.java
@@ -24,7 +24,7 @@ public final class Client {
24
public Client() {
25
Dispatcher dispatcher = new Dispatcher();
26
dispatcher.setMaxRequests(64);
27
- dispatcher.setMaxRequestsPerHost(64);
+ dispatcher.setMaxRequestsPerHost(16);
28
ConnectionPool connectionPool = new ConnectionPool(32, 5 * 60 * 1000);
29
httpClient = new OkHttpClient();
30
httpClient.setDispatcher(dispatcher);
0 commit comments