summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-11-15 19:24:57 -0600
committerJeff Carr <[email protected]>2024-11-15 19:24:57 -0600
commit9d265e0445164f6ef169bb490f3fe9d97a4ef473 (patch)
treeceabc82d6a84b977b39508f3a3088283be4ed171 /main.go
parentfbd638aec099fc88c5bd616dff891bb942d2de4b (diff)
zood connects
Diffstat (limited to 'main.go')
-rw-r--r--main.go11
1 files changed, 1 insertions, 10 deletions
diff --git a/main.go b/main.go
index db3e42a..f540f6f 100644
--- a/main.go
+++ b/main.go
@@ -20,7 +20,6 @@ import (
"time"
"go.wit.com/dev/alexflint/arg"
- "go.wit.com/lib/protobuf/zoopb"
"go.wit.com/log"
)
@@ -45,16 +44,8 @@ func main() {
}
me = new(stuff)
- me.zookeeper = "zookeeper.wit.com"
me.hostname, _ = os.Hostname()
- me.pollDelay = 3 * time.Second
-
- // what OS?
- me.distro = initDistro()
-
- // init the installed package list
- me.packages = new(zoopb.Packages)
- initPackages()
+ me.pollDelay = 10 * time.Second
go NewWatchdog()