ClientUtil中client改为连接池方式
This commit is contained in:
@@ -736,4 +736,9 @@ public final class Constants {
|
||||
public static final Integer SAVE_AND_DEL_THREAD_SIZE=Configurations.getIntProperty("save_and_del_thread_size", 5);
|
||||
public static final Integer MAX_ALLOWED_PACKET=Configurations.getIntProperty("max_allowed_packet", 1048576);
|
||||
|
||||
//http client连接池相关参数
|
||||
public static final Integer HTTP_MAX_CONNECTION=Configurations.getIntProperty("http_max_connection", 1000);
|
||||
public static final Integer DEFAULT_MAX_PERROUTE=Configurations.getIntProperty("default_max_perroute", 100);
|
||||
public static final Integer POOLCM_SOCKET_TIMEOUT=Configurations.getIntProperty("poolcm_socket_timeout", 3000);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user