diff options
| author | Jeff Carr <[email protected]> | 2025-09-11 03:44:16 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-09-11 03:44:16 -0500 |
| commit | aeae4ddf46cf577283a4b65fa4ffacd8f9d6cc8e (patch) | |
| tree | 45e27191fbb52105b0da7cb14012db064a8f8a03 | |
| parent | 1d7b1efa27b0db9419087e777b6c692bc2ced9fb (diff) | |
| -rw-r--r-- | main.go | 2 | ||||
| -rw-r--r-- | structs.go | 2 |
2 files changed, 0 insertions, 4 deletions
@@ -9,7 +9,6 @@ import ( "time" "go.wit.com/dev/alexflint/arg" - "go.wit.com/lib/protobuf/forgepb" "go.wit.com/lib/protobuf/zoopb" "go.wit.com/log" ) @@ -44,7 +43,6 @@ func main() { me.pollDelay = 3 * time.Second me.failcountmax = 20 // die every minute if zookeeper can't be found - me.forge = forgepb.InitPB() me.machine = zoopb.InitMachine() zood() // talks to zookeeper @@ -6,7 +6,6 @@ package main import ( "time" - "go.wit.com/lib/protobuf/forgepb" "go.wit.com/lib/protobuf/zoopb" ) @@ -19,7 +18,6 @@ type stuff struct { pollDelay time.Duration // how often to report our status dog *time.Ticker // the watchdog timer machine *zoopb.Machine // populated from protobuf based zoopb - forge *forgepb.Forge // handle to forge failcount int // how many times we've failed to contact the zookeeper failcountmax int // after this, exit and let systemd restart the daemon } |
