mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
Speed up heartbeat to new master leader
This commit is contained in:
parent
e768e64fbc
commit
41fe31b5d0
|
@ -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…
Reference in a new issue