Skip to content

Commit

Permalink
Move the go dnscheck outside the loop
Browse files Browse the repository at this point in the history
  • Loading branch information
cmmarslender committed Sep 12, 2024
1 parent cc1f91e commit 578bbf9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/serve.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,11 @@ var serveCmd = &cobra.Command{
continue
}

go h.DNSCheckLoop()
break
}

go h.DNSCheckLoop()

log.Fatalln(h.StartServer())
},
}
Expand Down

0 comments on commit 578bbf9

Please sign in to comment.