mirror of
https://codeberg.org/forgejo/forgejo
synced 2024-11-25 11:16:11 +01:00
Remove MaxConnsPerHost limit for outgoing connections
This commit is contained in:
parent
87bfa79f71
commit
12558d62c8
|
@ -85,8 +85,7 @@ func NewClient(ctx context.Context, user *user_model.User, pubID string) (c *Cli
|
||||||
c = &Client{
|
c = &Client{
|
||||||
client: &http.Client{
|
client: &http.Client{
|
||||||
Transport: &http.Transport{
|
Transport: &http.Transport{
|
||||||
Proxy: proxy.Proxy(),
|
Proxy: proxy.Proxy(),
|
||||||
MaxConnsPerHost: 20,
|
|
||||||
},
|
},
|
||||||
Timeout: time.Duration(5 * time.Second),
|
Timeout: time.Duration(5 * time.Second),
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue