mirror of
https://github.com/fluencelabs/tendermint
synced 2025-05-28 21:51:22 +00:00
do not reset pingTimer
don't bother with this "only ping when we havent heard from them". lets just always ping every peer from the sendRoutine every 10s no matter what. if they dont pong within pongTimeout, disconnect :)
This commit is contained in:
parent
2b2c233977
commit
d6d1f8512d
@ -494,11 +494,6 @@ FOR_LOOP:
|
||||
c.stopForError(err)
|
||||
break FOR_LOOP
|
||||
}
|
||||
|
||||
// TODO: don't bother with this "only ping when we havent heard from them".
|
||||
// lets just always ping every peer from the sendRoutine every 10s no matter what.
|
||||
// if they dont pong within pongTimeout, disconnect :)
|
||||
c.pingTimer.Reset()
|
||||
}
|
||||
|
||||
// Cleanup
|
||||
|
Loading…
x
Reference in New Issue
Block a user