From bb5ea7b57f4087a583ce3ae974b8176d046a73b2 Mon Sep 17 00:00:00 2001 From: Shiming Zhang Date: Wed, 24 Apr 2024 18:40:47 +0800 Subject: [PATCH] Increase clientset size --- crproxy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crproxy.go b/crproxy.go index 3fe31fb..5234f8f 100644 --- a/crproxy.go +++ b/crproxy.go @@ -115,7 +115,7 @@ func NewCRProxy(opts ...Option) (*CRProxy, error) { c := &CRProxy{ challengeManager: challenge.NewSimpleManager(), clientset: map[string]*lru.LRU[string, *http.Client]{}, - clientSize: 16, + clientSize: 256, baseClient: http.DefaultClient, bytesPool: sync.Pool{ New: func() interface{} {