mirror of
https://github.com/go-acme/lego
synced 2026-03-14 14:35:48 +01:00
chore: explicit OverallRequestLimit default
This commit is contained in:
parent
160e0a253f
commit
ee3ccc2e78
1 changed files with 4 additions and 2 deletions
|
|
@ -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,
|
||||
},
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue