From a3b31ed2ab90f7e7a923115b0cb06275403b5d62 Mon Sep 17 00:00:00 2001 From: cclohmar Date: Tue, 7 Jul 2026 18:11:59 +0100 Subject: [PATCH] fix: reduce lego timeout to 30s --- tools/nextwks-tool/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/nextwks-tool/main.go b/tools/nextwks-tool/main.go index 6277781..423c9f1 100644 --- a/tools/nextwks-tool/main.go +++ b/tools/nextwks-tool/main.go @@ -177,7 +177,7 @@ func obtainCertsLego(domains []string, email, backupDir, legoDir, legoPath strin "-d", domain, } - ctx, cancel := context.WithTimeout(context.Background(), 60*time.Second) + ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second) defer cancel() cmd := exec.CommandContext(ctx, legoPath, args...) cmd.Stdout = os.Stdout