Better ticker

master
LowEel 1 year ago
parent 09703fdc6d
commit f8280032ef
  1. 3
      zumba.go

@ -83,10 +83,11 @@ func loadAcme() {
func main() {
ticker := time.NewTicker(12 * time.Hour)
defer ticker.Stop()
loadAcme()
for range ticker.C {
for ; true; <-ticker.C {
for _, k := range MyAcme.Letsencryptresolver.Certificates {

Loading…
Cancel
Save