Browse Source

Speed up heartbeat to new master leader

pull/816/head
chenwanli 6 years ago
parent
commit
41fe31b5d0
  1. 2
      weed/server/volume_grpc_client_to_master.go

2
weed/server/volume_grpc_client_to_master.go

@ -110,7 +110,7 @@ func (vs *VolumeServer) doHeartbeat(masterNode string, sleepInterval time.Durati
glog.V(0).Infof("Volume Server Failed to talk with master %s: %v", masterNode, err)
return "", err
}
case <-doneChan:
case err = <-doneChan:
return
}
}

Loading…
Cancel
Save