summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-07 15:27:44 -0600
committerJeff Carr <[email protected]>2024-01-07 15:27:44 -0600
commit74bfddc1e4f3c459bfc30e13113b73e127f7e402 (patch)
tree918b02abf61dcacfc214b06c423fd86debbca698 /main.go
parent837a8a4be45ed3d03cf8753f09760a81f6cfcde6 (diff)
logic for comparing OS and DNS IPv6 addresses
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'main.go')
-rw-r--r--main.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/main.go b/main.go
index c21ae6f..72b390d 100644
--- a/main.go
+++ b/main.go
@@ -88,7 +88,7 @@ func main() {
lastProvider := "unknown"
go myTicker(10 * time.Second, "DNSloop", func() {
- log.Log(CHANGE, "me.statusDNS.Update() START")
+ log.Log(INFO, "me.statusDNS.Update() START")
me.statusDNS.Update()
provider := me.statusDNS.GetDNSapi()
@@ -127,7 +127,7 @@ func main() {
})
// check the four known things to see if they are all WORKING
- myTicker(3 * time.Second, "MAIN LOOP", func() {
+ myTicker(10 * time.Second, "MAIN LOOP", func() {
if me.hostnameStatus.GetText() != "WORKING" {
log.Log(CHANGE, "The hostname is not WORKING yet", me.hostnameStatus.GetText())
return
@@ -144,7 +144,7 @@ func main() {
log.Log(CHANGE, "The DNS API provider is not yet working", me.DnsAPIstatus.GetText())
return
}
- log.Log(CHANGE, "EVERYTHING IS WORKING. YOU HAVE IPv6 BLISS")
+ log.Log(CHANGE, "EVERYTHING IS WORKING. YOU HAVE IPv6 BLISS. TODO: don't check so often now")
})
}