mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-13 05:11:21 +00:00
change server ping period to be less frequent
no need to ping ws every 10 sec
This commit is contained in:
@ -340,7 +340,7 @@ const (
|
||||
writeChanCapacity = 1000
|
||||
wsWriteWait = 30 * time.Second // each write times out after this.
|
||||
defaultWSPongWait = 30 * time.Second
|
||||
defaultWSPingPeriod = 10 * time.Second
|
||||
defaultWSPingPeriod = (defaultWSPongWait * 9) / 10
|
||||
)
|
||||
|
||||
// a single websocket connection
|
||||
|
Reference in New Issue
Block a user