Skip to content
Permalink
Browse files

Speed up heartbeat to new master leader

  • Loading branch information...
PapaYofen committed Jan 7, 2019
1 parent e768e64 commit 41fe31b5d061cbc6ca8beeb0ed304262e249812e
Showing with 1 addition and 1 deletion.
  1. +1 −1 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
}
}

0 comments on commit 41fe31b

Please sign in to comment.
You can’t perform that action at this time.