mirror of
https://github.com/dragonheim/gagent.git
synced 2025-01-18 09:36:28 -08:00
Restoring connector for worker.
This commit is contained in:
parent
134f33cd6a
commit
89f1dce976
1 changed files with 1 additions and 3 deletions
|
@ -57,9 +57,7 @@ func getAgent(wg *sync.WaitGroup, uuid string, connectString string) {
|
||||||
subscriber, _ := zmq.NewSocket(zmq.REP)
|
subscriber, _ := zmq.NewSocket(zmq.REP)
|
||||||
defer subscriber.Close()
|
defer subscriber.Close()
|
||||||
|
|
||||||
// _ = subscriber.Connect(connectString)
|
_ = subscriber.Connect(connectString)
|
||||||
foo := subscriber.Connect(connectString)
|
|
||||||
log.Printf("[DEBUG] Connected to %s\n", foo)
|
|
||||||
|
|
||||||
msg, err := subscriber.Recv(0)
|
msg, err := subscriber.Recv(0)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Add table
Reference in a new issue