Skip to content

Commit

Permalink
perf: reduce the max connection number to 1024 to improve the COS Ser…
Browse files Browse the repository at this point in the history
…ver's pressure.
  • Loading branch information
yuyang733 committed Apr 15, 2023
1 parent 2aff029 commit 50db453
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/apache/hadoop/fs/CosNConfigKeys.java
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ public class CosNConfigKeys extends CommonConfigurationKeys {
public static final String COSN_COMPLETE_MPU_CHECK = "fs.cosn.complete.mpu.check";
public static final boolean DEFAULT_COSN_COMPLETE_MPU_CHECK_ENABLE = true;
public static final String MAX_CONNECTION_NUM = "fs.cosn.max.connection.num";
public static final int DEFAULT_MAX_CONNECTION_NUM = 2048;
public static final int DEFAULT_MAX_CONNECTION_NUM = 1024;

public static final String CUSTOMER_DOMAIN = "fs.cosn.customer.domain";
public static final String COSN_SERVER_SIDE_ENCRYPTION_ALGORITHM = "fs.cosn.server-side-encryption.algorithm";
Expand Down

0 comments on commit 50db453

Please sign in to comment.