diff options
| author | Jeff Carr <[email protected]> | 2025-02-15 12:16:27 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-02-15 12:21:34 -0600 |
| commit | 5e837be94b272f6b69b0b68ed070617adcf83ba2 (patch) | |
| tree | 98c485ee2ef2814560da360f0351894cc6f814af /main.go | |
| parent | 46e329f4190bb5b41b1ec5ecf89e319a626f8d63 (diff) | |
move some common things to forgepb
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -8,6 +8,7 @@ import ( "time" "go.wit.com/dev/alexflint/arg" + "go.wit.com/lib/protobuf/forgepb" "go.wit.com/log" ) @@ -41,7 +42,10 @@ func main() { me.pollDelay = 3 * time.Second me.failcountmax = 20 // die every minute if zookeeper can't be found - me.machine.ConfigLoad() + // me.machine.ConfigLoad() + + me.forge = forgepb.InitPB() + me.forge.InitMachine() go NewWatchdog() |
