From b9a9bf7904e2ae62a2f44f754c5b920143b37c51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=97=E5=AD=90?= Date: Fri, 30 Jan 2026 19:37:02 +0800 Subject: [PATCH] fix: lint --- internal/data/cert.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/data/cert.go b/internal/data/cert.go index 42b25af4..5a5d1692 100644 --- a/internal/data/cert.go +++ b/internal/data/cert.go @@ -218,7 +218,7 @@ func (r *certRepo) ObtainAuto(id uint) (*acme.Certificate, error) { } } - ctx, cancel := context.WithTimeout(context.Background(), 2*time.Minute) + ctx, cancel := context.WithTimeout(context.Background(), 5*time.Minute) defer cancel() ssl, err := client.ObtainCertificate(ctx, cert.Domains, acme.KeyType(cert.Type)) if err != nil {