Skip to content

Commit b8a22d6

Browse files
authored
Slow down DNS and Cert check frequency (#678)
1 parent 3311f0a commit b8a22d6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pkg/cli/cert.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ func triggerCertGeneration(ctx context.Context, domain string) {
146146
}
147147

148148
func waitForTLS(ctx context.Context, domain string) error {
149-
ticker := time.NewTicker(1 * time.Second)
149+
ticker := time.NewTicker(3 * time.Second)
150150
defer ticker.Stop()
151151
timeout, cancel := context.WithTimeout(ctx, 10*time.Minute)
152152
defer cancel()
@@ -195,7 +195,7 @@ func waitForCNAME(ctx context.Context, domain string, targets []string) error {
195195
targets[i] = strings.TrimSuffix(strings.ToLower(target), ".")
196196
}
197197

198-
ticker := time.NewTicker(1 * time.Second)
198+
ticker := time.NewTicker(5 * time.Second)
199199
defer ticker.Stop()
200200

201201
msgShown := false

0 commit comments

Comments
 (0)