Restoring connector for worker.

This commit is contained in:
James Wells 2022-07-15 06:38:21 -07:00
parent 134f33cd6a
commit 89f1dce976
Signed by: jwells
GPG key ID: 73196D10B8E65666

View file

@ -57,9 +57,7 @@ func getAgent(wg *sync.WaitGroup, uuid string, connectString string) {
subscriber, _ := zmq.NewSocket(zmq.REP)
defer subscriber.Close()
// _ = subscriber.Connect(connectString)
foo := subscriber.Connect(connectString)
log.Printf("[DEBUG] Connected to %s\n", foo)
_ = subscriber.Connect(connectString)
msg, err := subscriber.Recv(0)
if err != nil {