Browse Source

🐛 fix(client): reconnect if initial attempt failed for any reason

pull/7394/head
Mariano Ntrougkas 1 month ago
parent
commit
f3428f3868
Failed to extract signature
  1. 2
      weed/worker/client.go

2
weed/worker/client.go

@ -111,6 +111,8 @@ func (c *GrpcAdminClient) connectionProcess() {
if err != nil {
glog.Warningf("Initial connection failed: %v", err)
c.comms.connectionEvents <- connectionEvent{connected: false, err: err}
c.comms.streamErrors <- err
c.comms.streamErrors <- err
} else {
c.comms.connectionEvents <- connectionEvent{connected: true}
}

Loading…
Cancel
Save