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 a3982f8 commit 2568358Copy full SHA for 2568358
src/main/java/com/qiniu/http/Client.java
@@ -23,8 +23,8 @@ public final class Client {
23
24
public Client() {
25
Dispatcher dispatcher = new Dispatcher();
26
- dispatcher.setMaxRequests(1024);
27
- dispatcher.setMaxRequestsPerHost(1024);
+ dispatcher.setMaxRequests(64);
+ dispatcher.setMaxRequestsPerHost(64);
28
ConnectionPool connectionPool = new ConnectionPool(32, 5 * 60 * 1000);
29
httpClient = new OkHttpClient();
30
httpClient.setDispatcher(dispatcher);
0 commit comments