rafthttp: make health check meaning clearer

This commit is contained in:
Anthony Romano 2016-07-06 10:31:13 -07:00
parent 234c30c061
commit 3a080143a7

View File

@ -48,7 +48,7 @@ func monitorProbingStatus(s probing.Status, id string) {
select {
case <-time.After(statusMonitoringInterval):
if !s.Health() {
plog.Warningf("health check for peer %s failed", id)
plog.Warningf("health check for peer %s could not connect", id)
}
if s.ClockDiff() > time.Second {
plog.Warningf("the clock difference against peer %s is too high [%v > %v]", id, s.ClockDiff(), time.Second)