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