Cleanup
This commit is contained in:
parent
b1e85733a2
commit
9637550109
@ -323,7 +323,9 @@ func (s *peerSupervisor) client() stateFunc {
|
|||||||
|
|
||||||
case pingTimerMsg:
|
case pingTimerMsg:
|
||||||
if time.Since(lastSeen) > timeoutInterval {
|
if time.Since(lastSeen) > timeoutInterval {
|
||||||
logf("Connection timeout")
|
if s.staged.Up {
|
||||||
|
logf("Connection timeout")
|
||||||
|
}
|
||||||
return s.peerUpdate(s.peer)
|
return s.peerUpdate(s.peer)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user