mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
rafthttp: make health check meaning clearer
This commit is contained in:
parent
234c30c061
commit
3a080143a7
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user