From 12558d62c86d9abd3c4125d5b1b858156b19b92a Mon Sep 17 00:00:00 2001 From: bom Date: Fri, 12 Jan 2024 12:43:14 +0100 Subject: [PATCH] Remove MaxConnsPerHost limit for outgoing connections --- modules/activitypub/client.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/activitypub/client.go b/modules/activitypub/client.go index 25f56aff41..df9c72fe5f 100644 --- a/modules/activitypub/client.go +++ b/modules/activitypub/client.go @@ -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), },