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