This commit is contained in:
parent
3b29b4ef66
commit
d4e2d2d00a
|
|
@ -23,7 +23,7 @@ func NewKxMixRepoImpl(bc *conf.Bootstrap) mixrepos.KxMixRepo {
|
|||
"Content-Type": []string{"application/json"},
|
||||
}
|
||||
hc := &http.Client{
|
||||
Timeout: 8 * time.Second,
|
||||
Timeout: 5 * time.Second,
|
||||
Transport: &http.Transport{
|
||||
MaxIdleConns: 350, // 最大空闲连接数
|
||||
MaxIdleConnsPerHost: 150, // 每个主机的最大空闲连接数
|
||||
|
|
|
|||
Loading…
Reference in New Issue