From ee3ccc2e782d765da193a92024bbebe14c2679d7 Mon Sep 17 00:00:00 2001 From: Fernandez Ludovic Date: Mon, 23 Feb 2026 01:37:07 +0100 Subject: [PATCH] chore: explicit OverallRequestLimit default --- lego/client_config.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lego/client_config.go b/lego/client_config.go index 8679ad505..3fba0a06a 100644 --- a/lego/client_config.go +++ b/lego/client_config.go @@ -12,6 +12,7 @@ import ( "time" "github.com/go-acme/lego/v5/certcrypto" + "github.com/go-acme/lego/v5/certificate" "github.com/go-acme/lego/v5/registration" ) @@ -48,8 +49,9 @@ func NewConfig(user registration.User) *Config { User: user, HTTPClient: createDefaultHTTPClient(), Certificate: CertificateConfig{ - KeyType: certcrypto.RSA2048, - Timeout: 30 * time.Second, + KeyType: certcrypto.RSA2048, + Timeout: 30 * time.Second, + OverallRequestLimit: certificate.DefaultOverallRequestLimit, }, } }