kx time out 10s

This commit is contained in:
ziming 2025-05-22 16:55:28 +08:00
parent 304dc56bb2
commit 2f6b22db59
2 changed files with 2 additions and 2 deletions

View File

@ -68,7 +68,7 @@ cmb:
notifyUrl: "https://sandbox.cdcc.cmbchina.com/AccessGateway/transIn/updateCodeStatus.json" # 招行测试回调地址 notifyUrl: "https://sandbox.cdcc.cmbchina.com/AccessGateway/transIn/updateCodeStatus.json" # 招行测试回调地址
noticeStartDays: 7 noticeStartDays: 7
noticeEndDays: 1 noticeEndDays: 1
kxNoticeUrl: "" kxNoticeUrl: "https://wpcallbacks.api.1688sup.com/wechatPay/register_tag"
#告警配置 #告警配置
alarm: alarm:

View File

@ -23,7 +23,7 @@ func NewKxMixRepoImpl(bc *conf.Bootstrap) mixrepos.KxMixRepo {
"Content-Type": []string{"application/json"}, "Content-Type": []string{"application/json"},
} }
hc := &http.Client{ hc := &http.Client{
Timeout: 5 * time.Second, Timeout: 10 * time.Second,
Transport: &http.Transport{ Transport: &http.Transport{
MaxIdleConns: 350, // 最大空闲连接数 MaxIdleConns: 350, // 最大空闲连接数
MaxIdleConnsPerHost: 150, // 每个主机的最大空闲连接数 MaxIdleConnsPerHost: 150, // 每个主机的最大空闲连接数