Skip to content

Commit 3597d65

Browse files
committed
opt
1 parent 2568358 commit 3597d65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/qiniu/http/Client.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public final class Client {
2424
public Client() {
2525
Dispatcher dispatcher = new Dispatcher();
2626
dispatcher.setMaxRequests(64);
27-
dispatcher.setMaxRequestsPerHost(64);
27+
dispatcher.setMaxRequestsPerHost(16);
2828
ConnectionPool connectionPool = new ConnectionPool(32, 5 * 60 * 1000);
2929
httpClient = new OkHttpClient();
3030
httpClient.setDispatcher(dispatcher);

0 commit comments

Comments
 (0)