kx time out 10s
This commit is contained in:
parent
304dc56bb2
commit
2f6b22db59
|
|
@ -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:
|
||||||
|
|
|
||||||
|
|
@ -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, // 每个主机的最大空闲连接数
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue