1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-28 09:21:13 -05:00

Remove MaxConnsPerHost limit for outgoing connections

This commit is contained in:
bom 2024-01-12 12:43:14 +01:00 committed by Michael Jerger
parent 87bfa79f71
commit 12558d62c8

View file

@ -85,8 +85,7 @@ func NewClient(ctx context.Context, user *user_model.User, pubID string) (c *Cli
c = &Client{
client: &http.Client{
Transport: &http.Transport{
Proxy: proxy.Proxy(),
MaxConnsPerHost: 20,
Proxy: proxy.Proxy(),
},
Timeout: time.Duration(5 * time.Second),
},