chore: explicit OverallRequestLimit default

This commit is contained in:
Fernandez Ludovic 2026-02-23 01:37:07 +01:00
commit ee3ccc2e78

View file

@ -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,
},
}
}