housekeeping

This commit is contained in:
m5r
2023-12-12 22:25:39 +01:00
parent 45e35acfd9
commit 9ef6fc35f5
9 changed files with 90 additions and 42 deletions

View File

@@ -28,8 +28,8 @@ func main() {
certsClient.RequestCertificate()
for {
// renew certificate every month
time.Sleep(30 * 24 * time.Hour)
// try to renew certificate every day
time.Sleep(24 * time.Hour)
certsClient.RequestCertificate()
}
}()