Skip to content

Commit 4754a56

Browse files
qw8881569Binary Wang
authored andcommitted
🎨 调整部分starter模块接口连接的 soTimeout 默认值为 5000毫秒
1 parent 62f8998 commit 4754a56

File tree

2 files changed

+2
-2
lines changed
  • spring-boot-starters
    • wx-java-mp-spring-boot-starter/src/main/java/com/binarywang/spring/starter/wxjava/mp/properties
    • wx-java-open-spring-boot-starter/src/main/java/com/binarywang/spring/starter/wxjava/open/properties

2 files changed

+2
-2
lines changed

spring-boot-starters/wx-java-mp-spring-boot-starter/src/main/java/com/binarywang/spring/starter/wxjava/mp/properties/WxMpProperties.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ public static class ConfigStorage implements Serializable {
110110
/**
111111
* 读数据超时时间,即socketTimeout,单位毫秒
112112
*/
113-
private int soTimeout = 1;
113+
private int soTimeout = 5000;
114114

115115
/**
116116
* 从连接池获取链接的超时时间,单位毫秒

spring-boot-starters/wx-java-open-spring-boot-starter/src/main/java/com/binarywang/spring/starter/wxjava/open/properties/WxOpenProperties.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ public static class ConfigStorage implements Serializable {
116116
/**
117117
* 读数据超时时间,即socketTimeout,单位毫秒
118118
*/
119-
private int soTimeout = 1;
119+
private int soTimeout = 5000;
120120

121121
/**
122122
* 从连接池获取链接的超时时间,单位毫秒

0 commit comments

Comments
 (0)